Closed bokand closed 2 years ago
@rniwa - Could you please take a look (I can't add you as a reviewer) - do these changes satisfy your concerns in #66 and #65?
Ping @rniwa
Or perhaps @smfr, could you take a look, since you edit CSSOM-View?
Thanks!
This PR changes the event dispatch portion of the spec to instead monkey patch the
resize
andscroll
event dispatch steps in CSSOM-View so that the ordering is clear between the visual viewport's scroll and resize as well as in relation to other pending scroll events.In both resize and scroll cases, the event on the VisualViewport is fired immediately after the corresponding event on the Document.
(Also fixes minor unrelated ReSpec warnings)
Fixes #66 Fixes #65