csslint: support unicode-range
This commit is contained in:
parent
f80af3721c
commit
5c506f5cc9
|
@ -3794,6 +3794,7 @@ var Properties = module.exports = {
|
||||||
"transition-timing-function" : 1,
|
"transition-timing-function" : 1,
|
||||||
|
|
||||||
//U
|
//U
|
||||||
|
"unicode-range" : "<unicode-range>#",
|
||||||
"unicode-bidi" : "normal | embed | isolate | bidi-override | isolate-override | plaintext",
|
"unicode-bidi" : "normal | embed | isolate | bidi-override | isolate-override | plaintext",
|
||||||
"user-modify" : "read-only | read-write | write-only",
|
"user-modify" : "read-only | read-write | write-only",
|
||||||
"user-select" : "none | text | toggle | element | elements | all",
|
"user-select" : "none | text | toggle | element | elements | all",
|
||||||
|
@ -6267,6 +6268,10 @@ copy(ValidationTypes, {
|
||||||
return part.type === "time";
|
return part.type === "time";
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"<unicode-range>": function(part) {
|
||||||
|
return /^U\+[0-9a-f?]{1,6}(-[0-9a-f?]{1,6})?\s*$/i.test(part);
|
||||||
|
},
|
||||||
|
|
||||||
"<uri>": function(part) {
|
"<uri>": function(part) {
|
||||||
return part.type === "uri";
|
return part.type === "uri";
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user