> 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.
> 
> Additionally, we should also support the following child-indexed 
> pseudo-classes:
> `:first-child`
> `:last-child`
> `:only-child`
> `:nth-child()` with arguments `even` and `odd`
> 
> The `An+B [of S]?` microsyntax for `:nth-child()` is not supported, as this 
> would require major changes in JavaFX CSS.

Michael Strauß has updated the pull request with a new target base due to a 
merge or a rebase. The incremental webrev excludes the unrelated changes 
brought in by the merge/rebase. The pull request contains seven additional 
commits since the last revision:

 - Merge branch 'master' into feature/root-pseudo-class
 - whitespace error
 - add child-indexed pseudo-classes
 - add pseudo-class table to Parent
 - update cssref
 - Set :root pseudo-class on sub-scene root node
 - Set :root pseudo-class on root node

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1652/files
  - new: https://git.openjdk.org/jfx/pull/1652/files/afb5fa40..0939d1d0

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

  Stats: 4514 lines in 771 files changed: 1808 ins; 793 del; 1913 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

Reply via email to