Follow updates on WD-selectors-4-20181121

See also: https://www.w3.org/TR/2018/WD-selectors-4-20181121/
This commit is contained in:
Kyo Nagashima
2018-11-23 08:47:59 +09:00
parent 53eef9c64c
commit feea4b6c25
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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;
} }