When you add a strong Tag within a paragraph, JavaFx WebView is not making the text strong, its the same as the text around it. Refer to attached image for its detail.. This is only a problem when the following font is specified as this css:
{code}
p{
font-family: 'Source Sans Pro', 'Helvetica', sans-serif;
}
{code}
Chrome has no trouble with displaying the Strong font here.
This jsfiddle reproduces the issue:
https://jsfiddle.net/5z7g7zLx/9/
This jsfiddle is working, but has no font-family set
https://jsfiddle.net/5z7g7zLx/10/
- duplicates
-
JDK-8089405 WebView does not support synthetic bold and italic styling of web fonts
- Open
-
JDK-8089405 WebView does not support synthetic bold and italic styling of web fonts
- Open
- relates to
-
JDK-8091064 Implement synthetic font styling
- Open