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
Ah yeah, that's unfortunate. We exclude the global keywords with the assumption that most custom idents will be used top-level in a declaration, but function arguments don't have to obey that; they're already excluded from triggering the global behavior.
https://drafts.csswg.org/css-env-1/#env-function says:
However both Blink and WebKit use just
<ident>
for this.Test-case can be:
Which should be green per spec but is red in Blink and WebKit.
Should the spec be changed to use just
<ident>
, or should bugs be filed on browsers?I made the same mistake in https://bugzilla.mozilla.org/show_bug.cgi?id=1462233, but @heycam caught it during review.
The text was updated successfully, but these errors were encountered: