-
Enhancement
-
Resolution: Fixed
-
P4
-
jfx23
-
None
-
b25
The CSS Selectors specification defines the :root pseudo-class that matches root nodes:
https://www.w3.org/TR/selectors-4/#the-root-pseudo
JavaFX uses the non-standard .root style class for the same purpose. We should also support the :root pseudo-class to increase the compatibility of JavaFX CSS with the web specification.
Additionally, we should also support the following child-indexed pseudo-classes:
:first-child
:last-child
:only-child
:nth-child() with arguments "even" and "odd"
https://www.w3.org/TR/selectors-4/#the-root-pseudo
JavaFX uses the non-standard .root style class for the same purpose. We should also support the :root pseudo-class to increase the compatibility of JavaFX CSS with the web specification.
Additionally, we should also support the following child-indexed pseudo-classes:
:first-child
:last-child
:only-child
:nth-child() with arguments "even" and "odd"
- csr for
-
JDK-8347153 Support tree-structural pseudo-classes
-
- Closed
-
- links to
-
Commit(master) openjdk/jfx/0f6b8c50
-
Review(master) openjdk/jfx/1652