On Mon, 20 Jul 2026 15:34:08 GMT, John Hendrikx <[email protected]> wrote:
> It existed for when CSS metadata changed for a Node (so almost specifically > to support what `Control` does with its changeable CSS metadata). When force > slow path is on, it would lookup all defined CSS properties for that Node, > and add them to the shared cache entry (the shared cache entry is not reset > for this as many other nodes can be using it) to ensure that all CSS > properties that should have a value are part of the shared cache entry, > specifically if the Node's CSS metadata change introduced new CSS properties > not seen before. Ah that makes sense. Sounds hacky, as you also described in your ticket. Since the `CssMetadata` amount can change anytime, calling `transitionToState` again will not detect new `CssMetadata` - only when `forceSlowPath` is true or the style helper is newly created before. So this new behavior is always more correct. ------------- PR Comment: https://git.openjdk.org/jfx/pull/2218#issuecomment-5033453103
