Integrated: JDK-8245919: Region#padding property rendering error

John Hendrikx jhendrikx at openjdk.org
Tue May 16 06:40:55 UTC 2023


On Mon, 27 Mar 2023 23:05:00 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> Fix bug in CSS caching code that could reset values on unrelated nodes.
> 
> The bug occurs due to a cache entry being constructed incorrectly when the initial node that triggered the cache entry creation has user set values. The calculated values for properties with a user set value were omitted in the cache entry, and other nodes that later share the same entry would incorrectly assume the omitted property was unstyled and were therefore reset to their default values.

This pull request has now been integrated.

Changeset: c1a11795
Author:    John Hendrikx <jhendrikx at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/c1a1179595158c8611357dcf1d17ee2c641bece9
Stats:     95 lines in 2 files changed: 69 ins; 23 del; 3 mod

8245919: Region#padding property rendering error

Reviewed-by: mstrauss, mhanl, angorya

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

PR: https://git.openjdk.org/jfx/pull/1072


More information about the openjfx-dev mailing list