csslint: support "i" in attribute selector
This commit is contained in:
parent
4250f89ed3
commit
bc63eccaa9
|
@ -2287,6 +2287,14 @@ Parser.prototype = function() {
|
|||
tokenStream.mustMatch([Tokens.IDENT, Tokens.STRING]);
|
||||
value += tokenStream.token().value;
|
||||
value += this._readWhitespace();
|
||||
|
||||
if (tokenStream.match([Tokens.IDENT])
|
||||
&& tokenStream.token().value.toLowerCase() == 'i') {
|
||||
value += tokenStream.token().value;
|
||||
value += this._readWhitespace();
|
||||
} else {
|
||||
tokenStream.unget();
|
||||
}
|
||||
}
|
||||
|
||||
tokenStream.mustMatch(Tokens.RBRACKET);
|
||||
|
|
Loading…
Reference in New Issue
Block a user