W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

Re: [csswg-drafts] [css-media-queries] Foldables support and enablement (#4141)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 Jul 2019 18:29:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-513900816-1563820192-sysbot+gh@w3.org>
Yeah, those diagrams showing a 3-panel folder make me very nervous about designing a MQ here. Gives me flashbacks to trying to generalize about a rounded-screen MQ, which proved impossible.

The core question we have to answer here is, what questions should we enable the author to ask, such that they can do something useful with the answer? I'm not seeing very many sorts of questions I could ask that would let me usefully design to both a side-folding phone and a 3-pane tablet. :(

A JS API can be more fine-grained in answers, perhaps.

There might still be *some* stuff we can usefully extract here, tho. This could use some exploration. Like, maybe we can catch just "the X edge is folded", with a fallback "lol this is complicated good luck" value.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4141#issuecomment-513900816 using your GitHub account
Received on Monday, 22 July 2019 18:29:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC