mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Follow updates on WD-selectors-4-20181121
See also: https://www.w3.org/TR/2018/WD-selectors-4-20181121/
This commit is contained in:
@@ -7,4 +7,4 @@ syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>"
|
|||||||
syn match cssPseudoClassId contained "\<user-invalid\>"
|
syn match cssPseudoClassId contained "\<user-invalid\>"
|
||||||
syn match cssPseudoClassId contained "\<target-within\>"
|
syn match cssPseudoClassId contained "\<target-within\>"
|
||||||
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
||||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(matches\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|drop\)(" end=")" oneline
|
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
|
||||||
|
|||||||
@@ -758,7 +758,7 @@ mask {
|
|||||||
.selectors-4:in-range,
|
.selectors-4:in-range,
|
||||||
.selectors-4:out-of-range,
|
.selectors-4:out-of-range,
|
||||||
.selectors-4:user-invalid,
|
.selectors-4:user-invalid,
|
||||||
.selectors-4:matches(:hover, :focus),
|
.selectors-4:is(:hover, :focus),
|
||||||
.selectors-4:dir(ltr),
|
.selectors-4:dir(ltr),
|
||||||
.selectors-4:local-link(0),
|
.selectors-4:local-link(0),
|
||||||
.selectors-4:current(p, li, dt, dd),
|
.selectors-4:current(p, li, dt, dd),
|
||||||
@@ -770,7 +770,7 @@ mask {
|
|||||||
.selectors-4:playing,
|
.selectors-4:playing,
|
||||||
.selectors-4:paused,
|
.selectors-4:paused,
|
||||||
.selectors-4:has(> img),
|
.selectors-4:has(> img),
|
||||||
.selectors-4:drop(active) {
|
.selectors-4:where(:not(:hover)) {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user