[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-swing-dev
Subject: <Swing Dev> Integrated: 8257664: HTMLEditorKit: Wrong CSS relative font sizes
From: Stanimir Stamenkov <github.com+1247730+stanio () openjdk ! java ! net>
Date: 2021-01-20 13:39:00
Message-ID: yLJfnH7MHYm0OY_TzqHy8bYHTKsvhOfnSuCZOU-QeQ0=.eee2bbe8-3fd8-4a4b-a76d-8317c81546b3 () github ! com
[Download RAW message or body]
On Sun, 13 Dec 2020 14:51:47 GMT, Stanimir Stamenkov \
<github.com+1247730+stanio@openjdk.org> wrote:
> Fix for [JDK-8257664][] – HTMLEditorKit: Wrong CSS relative font sizes.
>
> _Disclaimer:_ I'm the reporter of the issue and I've been advised the best chance \
> to get it addressed is to submit a pull request against this repository. I haven't \
> built the JDK myself, I'll need guidance if required. I have a proof-of-concept \
> example – demonstrating the bug and a workaround available as a [public \
> gist](https://gist.github.com/stanio/b79ce9348946aa6b3395328ec4c59d14). I have \
> included a sample test though I don't know if it is annotated properly.
> **Current behavior**
>
> <style>
> h2, .h2 { font-size: 150% }
> </style>
>
> <body>
>
> <h2>Foo</h2>
>
> <div class=h2>Bar</div>
>
> <ol class=h2>
> <li>Baz</li>
> </ol>
>
> <table class=h2>
> <tr>
> <td>Qux</td>
> </tr>
> </table>
>
> </body>
>
> **Expected behavior**
>
> All text should be displayed with a font size of the computed `<body>` font-size × \
> 1.5.
> [JDK-8257664]: https://bugs.openjdk.java.net/browse/JDK-8257664
This pull request has now been integrated.
Changeset: 70b5b311
Author: Stanimir Stamenkov <stanio@yahoo.com>
Committer: Alexey Ivanov <aivanov@openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/70b5b311
Stats: 178 lines in 2 files changed: 178 ins; 0 del; 0 mod
8257664: HTMLEditorKit: Wrong CSS relative font sizes
Reviewed-by: aivanov, psadhukhan
-------------
PR: https://git.openjdk.java.net/jdk/pull/1759
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic