[csswg-drafts] [mediaqueries-4] order of prefixes (#7330)

gsnedders has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries-4] order of prefixes ==
https://drafts.csswg.org/mediaqueries-4/#mq-min-max defines min/max prefixes for range features.

https://www.w3.org/TR/CSS2/syndata.html#vendor-keywords reserves prefixes for vendor-specific extensions, at least for keywords and property names.

While admitting that media features aren't keywords or property names, the reality is that there are prefixed ones used in the wild (e.g., `-webkit-device-pixel-ratio`), and we should define somehow how prefixes get applied to `device-pixel-ratio`.

Should we have `min--webkit-device-pixel-ratio` or `-webkit-min-device-pixel-ratio`?

Clearly, the latter is the one that is implemented in every major browser engine, but there's nothing that actually says the prefixes should be applied in that order, and the Compat spec feels a need to make this explicit: https://compat.spec.whatwg.org/#css-media-queries-webkit-device-pixel-ratio

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7330 using your GitHub account


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

Received on Wednesday, 1 June 2022 09:03:11 UTC