Add support for css4 selectors
Closed this issue · 2 comments
supported
Default option pseudo-class selector
:default
Parent selector
label! input
Negation pseudo-class selector
:not(selector 1[, selector2 ] )
Matches-any pseudo-class selector
:matches(selector 1[, selector2 ])
Local link pseudo-class selector
:local-link
:local-link(2) // link depth
Optionality pseudo-class selectors
:required
:optional
Mutability pseudo-class selectors
:read-only
:read-write
Structural pseudo-class selectors
:nth-match(2n+1)
:nth-last-match(4)
Grid-Structural pseudo-class selectors
:column
:nth-column(2)
:nth-last-column(2n1)
Relational pseudo-class selector
:has(selector)
Indeterminate pseudo-class selector
native. not sure about mobile https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate
:indeterminate
Dir pseudo-class selector
:dir(ltr)
Hyperlink pseudo-class selector
:any-link
Lang pseudo-class selector
:lang(*-en)
Blank pseudo-class selector
:blank
Descendant combination selector
div >> span
Validity pseudo-class selectors
:in-range
:out-of-range
partially supported
Drop pseudo-class selector
:drop
:drop(active) // unsupported
:drop(valid) // unsupported
:drop(invalid) // unsupported
easy enough on the outside but we need something to shim validation
Range pseudo-class selectors
:valid // unsupported
:invalid // unsupported
easy enough on the outside but we need something to shim validation
unsupported
~~Column combination selector~
Time-dimensional pseudo-class selector
Attribute case-sensitivity selector
Scope pseudo-class selector (? makes sense in the spec, but not in µ selection)
Placeholder pseudo-class selector (? native @ ie10)
sources:
http://www.inserthtml.com/2012/01/css4-selectors/
http://css4-selectors.com/selectors/
the main text of this page will be folded in to the wiki after this branch merges in.