Re: [csswg-drafts] [mediaqueries-5] Move the definition of display-mode back to APPMANIFEST. Closes #7306. (#7307)

> Sorry, I should have been more detailed. What I was saying was that I'm not sure the values are as necessary in the CSS spec as they should be bound to the values in the Manifest, right? For instance, when `display_override` lands, I’d expect the value that is ultimately applied in the browser would be the one popped through to the media query. When that lands, we wouldn't need to update the Media Query spec to include it if the spec references the acceptable values in the Manifest.

So what you're saying is that we shouldn't duplicate the list of possible values, and instead just say "it can be any value from the "display mode" list in the manifest"?

I think avoiding that duplication would be ideal, but my feeling from reading the CSSMQ spec is that this is formally defining the CSS syntax and we can't just delete the blue box and put in a hand-wave "see the list from the manifest". So we do need to duplicate the list of possible values. I think it's OK: adding new display modes will be pretty rare (we'll add maybe 2 in the next couple of years) so we will just be sure to add an entry here when we do.

-- 
GitHub Notification of comment by mgiuca
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/7307#issuecomment-1139301301 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 27 May 2022 05:45:10 UTC