css parser: vars in @supports(--var: foo)
This commit is contained in:
parent
379c825408
commit
8aac1c315a
|
@ -4017,7 +4017,7 @@ self.parserlib = (() => {
|
||||||
const stream = this._tokenStream;
|
const stream = this._tokenStream;
|
||||||
if (stream.match(Tokens.LPAREN)) {
|
if (stream.match(Tokens.LPAREN)) {
|
||||||
this._ws();
|
this._ws();
|
||||||
if (stream.match(Tokens.IDENT)) {
|
if (stream.match([Tokens.IDENT, Tokens.CUSTOM_PROP])) {
|
||||||
// look ahead for not keyword,
|
// look ahead for not keyword,
|
||||||
// if not given, continue with declaration condition.
|
// if not given, continue with declaration condition.
|
||||||
const ident = lower(stream._token.value);
|
const ident = lower(stream._token.value);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user