Parse progid expressions like Ruby Sass.

This commit is contained in:
Natalie Weizenbaum 2016-10-28 14:20:19 -07:00
parent 5c53579b4c
commit d0771e7fab

View File

@ -1762,7 +1762,11 @@ abstract class StylesheetParser extends Parser {
buffer = new InterpolationBuffer()
..write(name)
..writeCharCode($colon);
buffer.write(identifier());
var next = scanner.peekChar();
while (next != null && (isAlphabetic(next) || next == $dot)) {
buffer.writeCharCode(scanner.readChar());
next = scanner.peekChar();
}
scanner.expectChar($lparen);
buffer.writeCharCode($lparen);
break;