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

Stanimir Stamenkov github.com+1247730+stanio at openjdk.java.net
Fri Jan 15 17:58:03 UTC 2021


On Fri, 15 Jan 2021 13:21:29 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Thank you. Your OCA has been processed and your account has been marked as verified.
>
> Providing a way to display the rendered HTML, especially when the test fails, for visual inspection could be a bonus. This feature could be activated with a parameter passed to the test. It's not a requirement, just a suggestion.

Added an option to save editor image capture to a file.  Here's the current (wrong) output:

![wrongCssFontSize](https://user-images.githubusercontent.com/1247730/104761222-3f4c1500-576b-11eb-8ff4-cc67e5d341e2.png)

All text should use the same font size – here's a side-by-side (wrong-right) comparison using the workaround I've referenced in the PR description:

![wrong-right](https://user-images.githubusercontent.com/1247730/104761383-7f12fc80-576b-11eb-95ba-68a0edf8e60a.png)

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

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


More information about the swing-dev mailing list