RFR: 8280020: Underline and line-through not straight in WebView [v5]

Jay Bhaskar duke at openjdk.java.net
Tue Mar 1 03:09:21 UTC 2022


On Mon, 28 Feb 2022 15:10:27 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Jay Bhaskar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   New chnages for line test
>
> tests/system/src/test/java/test/javafx/scene/web/StraightLineTest.java line 57:
> 
>> 55:     private static final CountDownLatch launchLatch = new CountDownLatch(1);
>> 56:     private static final int LINE_THICKNESS = 20;
>> 57:     private static final int SKIP_TEXT_BOUNDARY = 32;
> 
> What does this constant represent?

LINE_THICKNESS is thickness that is also in html test code. SKIP_TEXT_BOUNDARY is used to skip boundary at the end of line.

-------------

PR: https://git.openjdk.java.net/jfx/pull/731


More information about the openjfx-dev mailing list