On Wed, 7 Oct 2026 18:13:03 GMT, Marius Hanl <[email protected]> wrote:
> The second split PR of the CSS saga™. > > Some pre-existing issues were found once again in > https://github.com/openjdk/jfx/pull/2225, which were made more obvious with > the changes. > > When using a relative property like `-fx-padding: 1em;` with a font-size set > like this: `-fx-font-size: 20px;`, it may not correctly reset the padding as > soon as the font size is removed. > > In this example, the padding is 20, and when removed, it should reset to 0. > > Problem in code is simple: Two different code locations are similar, but not > completely, leading to a bug just with relative properties, but not otherwise. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). @arapte Can you take a look as well? I know you fixed a couple bugs in this area a while ago. I'm thinking of [JDK-8204568](https://bugs.openjdk.java.net/browse/JDK-8204568) (PR #397) and [JDK-8266966](https://bugs.openjdk.org/browse/JDK-8266966) (PR #504) ------------- PR Comment: https://git.openjdk.org/jfx/pull/2337#issuecomment-6047309623
