-
Notifications
You must be signed in to change notification settings - Fork 707
[mediaqueries][css-conditional] Allow empty functions in <general-enclosed> #6803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Coincidentally, we actually made a ninja-edit for this last week. #6799 |
Yeah, the grammar was an accidental leftover from when |
Reopening to get WG approval on this, since it's updating a CR. Should be routine. |
The CSS Working Group just discussed
The full IRC log of that discussion<fantasai> Topic: Allow empty functions in <general-enclosed><fantasai> github: https://github.com//issues/6803 <fantasai> TabAtkins: We had some leftover grammar from a previous change that accidentally implied that if you had a <general-enclosed> in functional form it had to ahve something inside the parens <fantasai> TabAtkins: previously could be empty <fantasai> TabAtkins: small change to make the value optional, so that foo() would be valid <TabAtkins> @media fn() {...} <TabAtkins> @media fn(foo) {...} <fantasai> TabAtkins: wanted to make sure this counts as <general-enclosed> with unknown value rather than syntax error <fantasai> florian: asking for approval because spec is in CR <fantasai> RESOLVED: Accept change to allow empty functional notations in <general-enclosed> |
@andruud wrote in #6312 (comment)
Since this is about forwards-compatible parsing and evaluation, it seems to me it would make more sense if
<any-value>
were optional so that empty functional notations would be syntactically valid.The text was updated successfully, but these errors were encountered: