On Mon, 22 Feb 2021 18:45:38 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

> The test has to ensure the string gets clipped so that ‘…’ replaces the part 
> that does not fit in the size provided, and the result of clipping must be 
> the same. This should not depend on the uiScale.

The test tries to set the bounds of the window to the "special" size which 
trigger the clipping of only the last characters, if it fails to do so then it 
just check that the non-clipped text is the same for both strings. If 200% 
caused the test to fail because the wrong part of the text is clipped mean that 
this is not a test bug. And the change in the test should include using more 
scale/text variants to increase coverage, not to set it to the uiScale="1".

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

PR: https://git.openjdk.java.net/jdk/pull/2502

Reply via email to