[csswg-drafts] Pull Request: Bokan visual viewport scroll events

bokand has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== Bokan visual viewport scroll events ==
[cssom-view-1] Update spec text for visual viewport scroll and scrollend events #8103 

Adds normative text for firing the `scrollend` event on the VisualViewport.

`scroll` was already specified but incorrectly. The text as written meant that a `scroll` event would have to be dispatched at VisualViewport whenever the document scrolls, even if the VisualViewport didn't scroll.

This PR splits the `perform a scroll` steps into one for scrolling boxes (the existing one) and one for viewports (newly added). The viewport version distributes the scroll between the visual and layout viewports and the uses the scrolling box version to perform the scroll of each.

Fixes #8103 




See https://github.com/w3c/csswg-drafts/pull/8205


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

Received on Thursday, 8 December 2022 18:57:13 UTC