- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 29 Jul 2021 22:20:28 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `clipping the root element on mobile`, and agreed to the following: * `RESOLVED: Accept the Note above.` <details><summary>The full IRC log of that discussion</summary> <fantasai> topic: clipping the root element on mobile<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/5646<br> <TabAtkins> ScribeNick: TabAtkins<br> <fantasai> https://hiikezoe.github.io/overflow-clip-on-root.html<br> <TabAtkins> fantasai: there's a testcase which makes this clearer...<br> <TabAtkins> fantasai: on mobile when we ahve dynamic toolbars there's a small and large viewport<br> <TabAtkins> fantasai: the ICB, the size of the document when it's height:100%, si the small viewport size<br> <TabAtkins> fantasai: But when the content retracts you see more than that<br> <TabAtkins> fantasai: This isn't interesting for long scrollable docs<br> <TabAtkins> fantasai: But if it's overflow:hidden and you're expecting a clipped rectangle equal to the ICB (so stuff outside the rect isn't visible), but it is indeed visible in these cases<br> <TabAtkins> fantasai: If you load it in a mobile browser, there's a red bar below the ICB. can't see it in desktop browsers, but it's visible in all mobiles when the UI retracts<br> <Rossen_> q?<br> <TabAtkins> fantasai: So since we have compat, do we need to spec this?<br> <TabAtkins> fantasai: Or do we have concerns?<br> <TabAtkins> florian: I think it's weird, but it's interoperable<br> <TabAtkins> fantasai: And I also can't think of a better idea<br> <TabAtkins> fantasai: I suppose you coudl clip the content but extend the canvas area...?<br> <TabAtkins> Rossen_: Thoughts?<br> <TabAtkins> TabAtkins: Since we don't ahve a better idea, and it's interop already, suggest we go for it<br> <TabAtkins> Rossen_: proposed resolution?<br> <TabAtkins> proposed resolution: the ICB is the small viewport, but the viewport clip rectangle is the large viewport<br> <TabAtkins> Rossen_: So if I have position:fixed with bottom:0, and I zoom out, will it stick to the viewport or not?<br> <TabAtkins> flackr: in impls it does<br> <TabAtkins> flackr: But it sounds like that would disagree with the spec<br> <TabAtkins> emilio: Can we resolve on aligning to the interoperable bits?<br> <TabAtkins> emilio: And figure out exactly what those bits are?<br> <TabAtkins> florian: That's what we tried to do; seems we failed to consider zooming<br> <TabAtkins> Rossen_: Yeah that's where ICB and visual vs layout viewports make the most difference<br> <TabAtkins> Rossen_: given decent interop, i suggest diving into details and documenting the status quo better, rather than resolving now<br> <TabAtkins> florian: so if we just talk about the clipping of overflow:hidden using the large viewport - is that incompatible with reality?<br> <TabAtkins> Rossen_: It woudl be inconsistent with what I said about position:sticky to the bottom<br> <TabAtkins> Rossen_: spec'll stick it to the ICB bottom, if I zoom it *currently* sticks to the screen bottom<br> <TabAtkins> fantasai: Florian's just talking about the clip rectangle, not the poisition of anything<br> <TabAtkins> fantasai: Issue here is that if you ahve overflow:hidden on the root, it might still not clip everything on the screen<br> <TabAtkins> florian: I think what I'm hearing is we might ahve the right answer, but more research is needed<br> <TabAtkins> Rossen_: I think something must be missing, happy to be wrong<br> <TabAtkins> florian: We should take the time to get our terminology exactly right<br> <TabAtkins> smfr: I'd appreciate more time to look at this to understand iOS<br> <TabAtkins> fantasai: We also don't have a spec that describes visual vs layout viewport, and small vs large viewport, and what's tied to what<br> <TabAtkins> fantasai: like is bottom:0 and top:100% the same? dunno<br> <TabAtkins> Rossen_: And when you add zoom and transforms, might end up with clipping, or sticking to the wrong thing, both are unexpected<br> <TabAtkins> fantasai: What we can say for this specific issue is that overflow:hidden on the root might not necessarily clip to the ICB rect<br> <TabAtkins> TabAtkins: That sounds like a Note, not normative text.<br> <TabAtkins> Rossen_: so what's th enote?<br> <TabAtkins> fantasai: proposed note: overflow:hidden on the root might not clip everything outside the ICB if the ICB is smaller than the viewport, which can happen on mobile<br> <TabAtkins> Rossen_: objections?<br> <TabAtkins> RESOLVED: Accept the Note above.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5646#issuecomment-889498713 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 29 July 2021 22:20:30 UTC