Re: [csswg-drafts] [css-overflow] Clarify what rect clips the root element with overflow:hidden on mobile environments with dynamic toolbar (#5646)

https://hiikezoe.github.io/overflow-clip-on-root.html
Here is an example.  There are two divs, one is a blue position:fixed element attached to "bottom: 0px", the other is a red position:absolute element attached to "top: `document.documentElement.clientHeight`px".  And the root element has "overflow: clip" property.  In this example, the red div is initially outside of the viewport (both of the visual/layout viewports). But on mobile Chrome the red div can be reachable by swipe down gestures (You will probably have to do swipe down gestures several times, I don't know how Chrome handles those gestures).  I haven't tried the example on iPhone(s) since I have no such devices at all, but I suppose mobile Safari has the same behavior.


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


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

Received on Tuesday, 8 June 2021 09:15:48 UTC