<Swing Dev> RFR: 8257664: HTMLEditorKit: Wrong CSS relative font sizes [v2]

Alexey Ivanov aivanov at openjdk.java.net
Fri Jan 15 13:24:07 UTC 2021


On Fri, 15 Jan 2021 09:31:38 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Stanimir Stamenkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fixup! 8257664: Fix font-size inheritance with percentage values
>>   
>>   -   Renamed bug8257665.java -> TestWrongCSSFontSize.java
>>   -   Added full copyright statement
>>   -   Removed redundant @key headless
>>   -   Corrected bug no. 8257665 -> 8257664
>
> test/jdk/javax/swing/text/html/StyleSheet/bug8257665.java line 14:
> 
>> 12: /*
>> 13:  * @test
>> 14:  * @key headless
> 
> No need to specify headless tag. If it's not @key headful, then it is implicitly headless

I believe the test is _headful_ because it uses `SwingUtilities.invokeAndWait` even though it does not show any UI.

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

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


More information about the swing-dev mailing list