-
Bug
-
Resolution: Unresolved
-
P4
-
8, 9, 10
-
b113, windows 7
First the button is only displayed as text and after the first hover the button is correctly displayed as a button.
public class Test extends Application {
protected ApplicationContext createApplicationContext(){
return new ApplicationContext();
}
@Override
public void start(final Stage primaryStage) { // Stage = window
BorderPane borderPane = new BorderPane();
final Scene scene = new Scene(borderPane, 1300, 900, Color.WHEAT);
primaryStage.setScene(scene);
primaryStage.show();
final WebView browser = new WebView();
borderPane.setCenter(browser);
WebEngine webEngine = browser.getEngine();
webEngine.loadContent("<html><style></style><body><button>test</button></body></html>");
}
public static void main(final String[] arguments) {
Application.launch(arguments);
}
}
public class Test extends Application {
protected ApplicationContext createApplicationContext(){
return new ApplicationContext();
}
@Override
public void start(final Stage primaryStage) { // Stage = window
BorderPane borderPane = new BorderPane();
final Scene scene = new Scene(borderPane, 1300, 900, Color.WHEAT);
primaryStage.setScene(scene);
primaryStage.show();
final WebView browser = new WebView();
borderPane.setCenter(browser);
WebEngine webEngine = browser.getEngine();
webEngine.loadContent("<html><style></style><body><button>test</button></body></html>");
}
public static void main(final String[] arguments) {
Application.launch(arguments);
}
}
- duplicates
-
JDK-8178888 [linux] [WebView] Button UI in html not rendering properly
- Closed
-
JDK-8120367 [WebView] HTML buttons are rendered incorrectly in Ubuntu
- Closed
- relates to
-
JDK-8178888 [linux] [WebView] Button UI in html not rendering properly
- Closed