RFR: JDK-8245919: Region#padding property rendering error [v2]

John Hendrikx jhendrikx at openjdk.org
Mon Apr 17 11:16:36 UTC 2023


> 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.

John Hendrikx has updated the pull request incrementally with one additional commit since the last revision:

  Fix typo

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1072/files
  - new: https://git.openjdk.org/jfx/pull/1072/files/e0bb42d9..5c6e5c1f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1072&range=01
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1072&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/1072.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1072/head:pull/1072

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


More information about the openjfx-dev mailing list