RFR: 8345188: Support tree-structural pseudo-classes [v6]

Kevin Rushforth kcr at openjdk.org
Wed Jan 8 23:14:03 UTC 2025


On Wed, 8 Jan 2025 22:57:00 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> I am not in favor of deprecating this for removal. I can see a possible argument for simple deprecation (although since it isn't a Java level API, it isn't clear what that would mean or what the benefit would be), but that could be done later if there was a desire to pursue it.
>> 
>> I do think we should continue to documenting it.
>
> I've updated the language in cssref L2110:
> 
> However, the root node of the scene matches the
> structural pseudo-class :root, as well as the legacy style
> class "root" (in addition to style classes already assigned to the node).

That looks good. Thanks.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1652#discussion_r1907963189


More information about the openjfx-dev mailing list