Re: [csswg-drafts] [selectors] Consider exposing "mobileness" as a media query (#7696)

I'm not sure they're insufficient. It seems browsers already have somewhat different rendering for `select` between mobile and tablet, where the difference I think is mostly viewport size:
https://github.com/whatwg/html/issues/8224#issuecomment-1236952646

Still, the mobileness concept exists in implementations and in the CH spec. I can imagine a few possible scenarios:

- Browsers remove most of the mobileness concept and instead use existing MQs (maybe viewport size + `pointer`) for default rendering differences between mobile/tablet/desktop. We remove `navigator.userAgentData.mobile`. We'll still be stuck with a "mobile" signal in the UA string for web compat.
- We add a MQ for "mobileness" as defined in CH, and browsers use it (maybe in combination with viewport size MQ) for default rendering differences between mobile/tablet/desktop. We keep `navigator.userAgentData.mobile`.
- We keep the status quo.

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7696#issuecomment-1237835362 using your GitHub account


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

Received on Tuesday, 6 September 2022 08:36:11 UTC