RFR: 8345188: Set :root pseudo-class on root node [v3]

Michael Strauß mstrauss at openjdk.org
Tue Dec 3 15:44:01 UTC 2024


> 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 for increased compatibility of JavaFX CSS with the web specification.

Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:

  add pseudo-class table to Parent

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1652/files
  - new: https://git.openjdk.org/jfx/pull/1652/files/bdb33c2f..58363439

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

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

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


More information about the openjfx-dev mailing list