- From: Oriol Brufau via GitHub <noreply@w3.org>
- Date: Tue, 02 Sep 2025 16:30:51 +0000
- To: public-css-archive@w3.org
It makes sense because `document.scrollingElement` is the element that you can use to scroll the viewport. If the body is itself scrollable, then `scrollTop` and such can't redirect to the viewport, they need to scroll the body. It's only when the body isn't itself scrollable when we can use it to scroll the viewport. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5326#issuecomment-3246034288 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 2 September 2025 16:30:52 UTC