Remember: everything mentioned here is work in progress, and may be changed and modified at any time.
Selectors Level 4
Blue boxes represent selectors based on the W3C Selectors Level 4 - Working Draft
Red boxes represent selectors based on the W3C Selectors Level 4 - Editor's Draft
- Negation
:not(s1, s2)
- Matches
:matches(s1, s2)
- Relational
:has(rs1, rs2)
- Case-Sensitivity
E[foo="bar" i]
- Directionality
:dir(ltr/rtl)
- Language
:lang(*-CA)
- Hyperlink
:any-link
- Local Link
:local-link
- Scope
:scope
- Time-Dimensional
:current / :past / :future
- Drag-and-Drop
:drop
- Indeterminate-Value
:indeterminate
- Default Option
:default
- Validity
:valid / :invalid
- Range
:in-range / :out-of-range
- Optionality
:required / :optional
- User-Interaction
:user-error
- Mutability
:read-only / :read-write
- Tree-Structural
:blank
- Grid-Structural
:column(selector) / :nth-column(n) / :nth-last-column(n)
- Reference Combinator
E /foo/ F
- Subject of Selector + Child Combinator
!E > F