On Tue, 1 Mar 2022 12:20:13 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> The text was also unexpectedly shifted, so this zero inset fixes that issue 
>> as well. Setting the insets to zero for all HTML fixes the unwanted padding.
>
> Should we create a separate test for HTML text? Probably manual only but 
> still. If it is a known issue and it's also resolved by this fix, I find such 
> a test useful.

I can definitely try to do so. The newest version of the test is now headless 
using BufferedImage. By manual, do you mean making a headful test where the 
tester clicks pass or fail according to the position of HTML text on the button?

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

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

Reply via email to