Skip to content

[resize-observer] [html] Test ordering of ResizeObserver vs. IntersectionObserver notifications - #36216

Merged
emilio merged 1 commit into
web-platform-tests:masterfrom
emilio:observer-timing
Oct 4, 2022
Merged

emilio merged 1 commit into
web-platform-tests:masterfrom
emilio:observer-timing

Conversation

@emilio

@emilio emilio commented Oct 2, 2022

Copy link
Copy Markdown
Contributor

@atotic atotic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Love seeing this test, event order compatibility is often not tested well.

@emilio
emilio merged commit ea5b028 into web-platform-tests:master Oct 4, 2022
@emilio
emilio deleted the observer-timing branch October 4, 2022 07:04
aperezdc pushed a commit to WebKit/WebKit that referenced this pull request Oct 6, 2022
…ng match other browsers

https://bugs.webkit.org/show_bug.cgi?id=245946

Reviewed by Simon Fraser.

Run IntersectionObservers after ResizeObservers to match Blink and Gecko.

Imported the test from web-platform-tests/wpt#36216

* LayoutTests/imported/w3c/web-platform-tests/resize-observer/ordering-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/resize-observer/ordering.html: Added.
* Source/WebCore/page/Page.cpp:
(WebCore::Page::updateRendering):

Canonical link: https://commits.webkit.org/255132@main

(cherry picked from commit 565a283)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants