You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the web service, with the following example, we get a CSS parse error:
.myButton {
--:0px;
}
The following warning is produced:
Parse Error --: 0px;
However, according to the current CSS Level 3 syntax, -- is a valid identifier start, and all identifier starts do not need to be followed by other tokens in order to form a valid <ident-token>. I understand this is a fairly unusual edge-case.
Other standard conforming examples below all parse:
In short, the CSS grammar for parsing <ident-tokens> is correct in all other examples, and fully conforms to the specifications, including escape tokens. However, -- is not properly handled.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Using the web service, with the following example, we get a CSS parse error:
The following warning is produced:
However, according to the current CSS Level 3 syntax,
--
is a valid identifier start, and all identifier starts do not need to be followed by other tokens in order to form a valid<ident-token>
. I understand this is a fairly unusual edge-case.Other standard conforming examples below all parse:
While invalid CSS fails:
In short, the CSS grammar for parsing
<ident-tokens>
is correct in all other examples, and fully conforms to the specifications, including escape tokens. However,--
is not properly handled.The text was updated successfully, but these errors were encountered: