- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 03 Aug 2022 17:45:54 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Viewport Units`, and agreed to the following: * `RESOLVED: Not adding units that trigger layout changes based on pinch-zoom` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: Viewport Units<br> <fantasai> fantasai: I think we need someone from WebKit in this discussion<br> <fantasai> fantasai: WebKit does all kinds of fun and interesting things with the viewport on mobile<br> <fantasai> fantasai: Do we know if they'll be dialing in later today?<br> <Rossen_> Rossen: I'm happy to defer. Also I would prefer to make progress here and now since we have enough people to discuss and come to a proposed resolution<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/7194<br> <fantasai> bramus: Recently added viewport-relative units<br> <fantasai> bramus: lv*/dv*/sv*<br> <flackr> q+<br> <fantasai> bramus: Suggestion is to add new units for the visual viewport units vv*<br> <fantasai> bramus: to reflect the width/height of the visual viewport<br> <fantasai> bramus: for clear understanding this is the part you see on screen<br> <fantasai> bramus: when you pinch zoom, this becomes a viewport on top of the canvas<br> <fantasai> bramus: so this is a sub-viewport of the others, and it describes (?)<br> <vmpstr> s/(?)/the part that you see/<br> <fantasai> flackr: I think david and bramus pointed out that if we had such units, it would cause layout changes while you zoom<br> <fantasai> flackr: which is disruptive and also perf problems<br> <fantasai> flackr: the fundamental use case seems to be positioning around a virtual keyboard<br> <fantasai> flackr: so we have some alternate proposals for positioning things relative to the edge of the keyboard<br> <Rossen_> ack flackr<br> <fantasai> flackr: see https://github.com/w3c/csswg-drafts/issues/7475<br> <TabAtkins> fantasai: I think robert's point that pinch-zoom isn't supposed to make layout changes (since you're trying to see something more clealry that's already laid out) is a really important point<br> <TabAtkins> fantasai: so we can't do this, but we can try to address the concerns another way<br> <bramus> q+<br> <emilio> +1 from me too fwiw<br> <Rossen_> ack bramus<br> <TabAtkins> +1 from me too on that<br> <fantasai> bramus: the use case for visual viewport units is if the author wants to have an element that perfectly fits that size<br> <fantasai> bramus: simply a use case for an element sized to fit within the space left by the keyboard<br> <fantasai> Rossen_: Any reason why can't use the viewport offsets, that were proposed and are in css-env?<br> <fantasai> Rossen_: we had an elaborate proposal for how to address these various sizes<br> <fantasai> bramus: are you talking about pageLeft/pageTop and offsetLeft/offsetTop?<br> <fantasai> Rossen_: no<br> <fantasai> Rossen_: I'll take a second to find the actual issue<br> <TabAtkins> fantasai: I think pinch-zoom and presence of keyboard are two very different things<br> <TabAtkins> fantasai: keyboard-shifting makes sense to address, pinch-zoom makes sense to specifically *not* address<br> <TabAtkins> fantasai: agree we commonly need to accommodate the keyboard somehow and should look into it<br> <TabAtkins> fantasai: but not pinch zoom<br> <florian> q+<br> <florian> q-<br> <fantasai> bramus: should we discuss the issue flackr linked to?<br> <fantasai> fantasai: Do we want to take a resolution to not add units that respond to pinch-zoom?<br> <dbaron> +1<br> <fantasai> Rossen_: any objections?<br> <fantasai> RESOLVED: Not adding units that trigger layout changes based on pinch-zoom<br> <Rossen_> q?<br> <Rossen_> ack fantasai<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7194#issuecomment-1204282035 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 3 August 2022 17:45:56 UTC