Re: [csswg-drafts] [cssom-view] scrollingElement quirksmode description looks wrong... a typo I think? (#5326)

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