RFR: 8296590: StraightLineTest fails always on Linux and sometimes on other platforms
Jay Bhaskar
jbhaskar at openjdk.org
Thu Apr 27 02:37:56 UTC 2023
On Tue, 25 Apr 2023 11:42:28 GMT, Jay Bhaskar <jbhaskar at openjdk.org> wrote:
> Issue: The test fails, in case snapshot is taken before web view finish web content load
> Solution: Introduce a sleep , before taking snapshot of web view , to test straight line
Tested on Linux, There was an issue with the HTML source, the div text was wrapping, due to which the underline property becomes wrapped. Like
<div>
UNDERLINE TEST
_______________
</div>
becomes
<div>
UNDERLINE
__________
TEST
_____
</div>
So , it needs to be nowarp.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1115#issuecomment-1524488692
More information about the openjfx-dev
mailing list