- From: Martin R. Smith via GitHub <sysbot+gh@w3.org>
- Date: Fri, 11 Mar 2022 10:14:13 +0000
- To: public-css-archive@w3.org
ms609 has just created a new issue for https://github.com/w3c/csswg-drafts: == Prevent iframe from scrolling parent container == An iframe can cause its parent window to scroll to another position, for example using `document.body.scrollIntoView();` There seems to be no way to override (prohibit) this behaviour under the present w3c specification. StackOverflow user Kaiido has [suggested](https://stackoverflow.com/a/71434176/3438001) a solution that exploits a [bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1019427#c_ts1598605695) in Chrome, which raises the question as to whether a CSS solution to prevent cross-source scrolling would be possible. Further details at the [StackOverflow answer](https://stackoverflow.com/a/71434176/3438001). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7134 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 11 March 2022 10:14:15 UTC