Re: [csswg-drafts] [cssom-view-1] Update spec text for visual viewport scroll and scrollend events (#8205)

Sorry for being late to this discussion. I have a question about this change:

`VisualViewport` has both `pageLeft`/`pageTop` and `offsetLeft`/`offsetTop` properties. IIUC this change is only considering the visual viewport to have scrolled when `offsetLeft` or `offsetTop` change, and not in situations when `pageLeft` or `pageTop` change but `offsetLeft` and `offsetTop` remain the same.

Should we be concerned about this breaking sites that might currently be listening to visual viewport `scroll` events as a convenient way of being notified whenever `pageLeft` or `pageTop` change (without also employing a document scroll listener), who would now need to switch to using both visual viewport and document scroll listeners?

-- 
GitHub Notification of comment by theres-waldo
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/8205#issuecomment-1520818664 using your GitHub account


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

Received on Monday, 24 April 2023 21:00:21 UTC