Skip to content

Commit 11cadca

Browse files
committed
fix vendor pseudos
1 parent 3952a93 commit 11cadca

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

lib/lexer.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ var pseudos = [
2929
'root',
3030
'empty',
3131
'target',
32-
'not'
32+
'not',
33+
'-o',
34+
'-ms',
35+
'-moz',
36+
'-webkit'
3337
]
3438

3539
/**

test/cases/pseudos.css

+4
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,9 @@
6262
a:after
6363
color: white
6464

65+
input:-webkit-autofill ~ .error
66+
pointer-events: none
67+
z-index: inherit
68+
6569
textarea:focus::-webkit-input-placeholder
6670
color: #cdcdcd

test/cases/pseudos.out.css

+5
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@
7777
color: white;
7878
}
7979

80+
input:-webkit-autofill ~ .error {
81+
pointer-events: none;
82+
z-index: inherit;
83+
}
84+
8085
textarea:focus::-webkit-input-placeholder {
8186
color: #cdcdcd;
8287
}

0 commit comments

Comments
 (0)