Our app comes bundled with a number of fonts used in our application. After having loaded the fonts using Font.load we can style our app with these fonts, even though they are not available by default on a customer's computer. However, using these fonts in the style sheet we set on the WebEngine of a WebView has no effect. So while this CSS has an effect
-fx-font-family: "Open Sans Light";
in our application style sheet, this CSS found in our WebView stylesheet has no effect:
font-family: "Open Sans Light";
I would argue that for WebView to be easy to use, it should handle stylesheets in much the same way of the rest of the application.
Lacking this feature is serious as it prevents us from getting a consistent look and feel throughout the application (WebViews look different).
-fx-font-family: "Open Sans Light";
in our application style sheet, this CSS found in our WebView stylesheet has no effect:
font-family: "Open Sans Light";
I would argue that for WebView to be easy to use, it should handle stylesheets in much the same way of the rest of the application.
Lacking this feature is serious as it prevents us from getting a consistent look and feel throughout the application (WebViews look different).