Skip to content

Commit 04cdd22

Browse files
committed
Follow changes in WD-css-pseudo-4-20160607
See also: https://www.w3.org/TR/2016/WD-css-pseudo-4-20160607/
1 parent 7656471 commit 04cdd22

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

after/syntax/css/css-pseudo-4.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
syn match cssPseudoClassId contained "\<inactive-selection\>"
12
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"

test/test.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,9 @@
408408
offset-start: auto;
409409
}
410410

411-
.pseudo::selection,
411+
.pseudo::inactive-selection,
412412
.pseudo::spelling-error,
413-
.pseudo::grammer-error,
414-
.pseuod::placeholder {
413+
.pseudo::grammer-error {
415414
display: block;
416415
}
417416

test/test.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,9 @@
452452
}
453453
</style>
454454
<style>
455-
.pseudo::selection,
455+
.pseudo::inactive-selection,
456456
.pseudo::spelling-error,
457-
.pseudo::grammer-error,
458-
.pseuod::placeholder {
457+
.pseudo::grammer-error {
459458
display: block;
460459
}
461460
</style>

0 commit comments

Comments
 (0)