All
Vis
Int
Pg
Sp
Sel
Val
@
TOCs
Selectors
Selectors Level 3 Rec 2011-09-29
Simple selectors
Type selector
E
Universal selector
*
Attribute presence and values selectors
E[foo] E[foo=bar] E[foo~="bar"]
Substring matching attribute selectors
E[foo^=bar] E[foo$="bar"] E[foo*="bar"] E[foo|="en"]
Class selectors
E.warning
ID selectors
E#myid
Pseudo-classes
:link and :visited
:hover, :active and :focus
:target
:lang
:enable, :disabled, :checked, :indeterminate
structural (root, nth-*, first-*, last-*, only-*, empty)
:not
Pseudo-elements
::first-line
::first-letter
::before and :after
Combinators
Descendant combinators
E F
Child combinators
E > F
Adjacent sibling combinator
E + F
General sibling combinator
E ~ F
Paged Media Module Level 3 WD 2013-03-14
Page selector pseudo-classes
:left, :right
:first
:blank
Basic User Interface Module Level 3 WD 2012-01-17
User interface states: pseudo-classes
:active
:indeterminate
::default
:valid and :invalid
:in-range and :out-of-range
:required and :optional
:read-only and :read-write
User interface states: pseudo-elements
::value
::choices
::repeat-item
::repeat-index
Template Layout Module WD 2011-11-29
Pseudo-element
::slot()
Selectors Level 4 WD 2013-05-02
Listing only the
additions and extensions
to Selectors 3
:not(s1, s2)
:matches(s1, s2)
Attribute selector case-sensitivity
E[foo="bar" i]
:dir(ltr)
:lang(zh, *-hant)
:any-link
:local-link :local-link(0)
:scope
Time-dimensional Pseudo-classes
E:current E:current(s) E:past, E:future
:indeterminate
:default
Validity pseudo-classes
E:in-range E:out-of-range
Optionality pseudo-classes
E:required E:optional
Mutability pseudo-classes
E:read-only E:read-write
:placeholder-shown
Tree-Structural pseudo-classes
E:blank E:nth-match(n of selector) E:nth-last-match(n of selector)
Grid-Structural pseudo-classes
E:column(selector) E:nth-column(n) E:nth-last-column(n)
Reference combinator
E /foo/ F
Determining the subject of a selector
E! > F
Overflow Module Level 3 WD 2013-04-18
Pseudo-element
::nth-fragment()
Regions Module Level 3 WD 2013-05-28
Pseudo-element
::region()
The spec view only works when iframe support is enabled.