Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8285993 | jfx17.0.4 | Ambarish Rapte | P4 | Resolved | Fixed | |
JDK-8283052 | 8u341 | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8285857 | jfx11.0.16 | Ambarish Rapte | P4 | Resolved | Fixed |
Step to reproduce:
Run this code:
"import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class LoadHtml extends Application {
public void start(Stage primaryStage) throws Exception {
primaryStage.setTitle(System.getProperty("java.runtime.version"));
WebView browser = new WebView();
WebEngine engine = browser.getEngine();
engine.loadContent("<div style=\"font-size:36pt; font-family:Arial; text-decoration: underline; \">aaaaaaa aaaaaaaaaaaaaaaa</div>\n"
+ "<div style=\"font-size:36pt; font-family:Arial; text-decoration: line-through;\">aaaaaaa aaaaaaaaaaaaaaa</div>");
StackPane sp = new StackPane();
sp.getChildren().add(browser);
Scene scene = new Scene(sp);
primaryStage.setScene(scene);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}"
Actual result:
See the capture where the line is slightly falling down.
Expected result:
The line should be straight.
- backported by
-
JDK-8283052 Underline and line-through not straight in WebView
-
- Resolved
-
-
JDK-8285857 Underline and line-through not straight in WebView
-
- Resolved
-
-
JDK-8285993 Underline and line-through not straight in WebView
-
- Resolved
-
- relates to
-
JDK-8284184 Crash in GraphicsContextJava::drawLinesForText on https://us.yahoo.com/
-
- Resolved
-
- links to
-
Commit openjdk/jfx11u/104e7b67
-
Commit openjdk/jfx17u/8e52c7be
-
Commit openjdk/jfx/263db3df
-
Review openjdk/jfx11u/90
-
Review openjdk/jfx17u/47
-
Review openjdk/jfx/731