Bug 245946 - Make ResizeObserver and IntersectionObserver timing match other browsers
Summary: Make ResizeObserver and IntersectionObserver timing match other browsers
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-10-02 10:28 PDT by Emilio Cobos Álvarez (:emilio)
Modified: 2022-12-14 13:31 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Cobos Álvarez (:emilio) 2022-10-02 10:28:47 PDT
See discussion in https://github.com/whatwg/html/issues/8277, I think IntersectionObserver should run _after_ ResizeObserver, not before. That matches Gecko and Blink.
Comment 1 Emilio Cobos Álvarez (:emilio) 2022-10-02 10:29:28 PDT
https://github.com/whatwg/html/pull/8348 is the in-progress spec PR, test is linked there.
Comment 2 Radar WebKit Bug Importer 2022-10-03 12:17:45 PDT
<rdar://problem/100728378>
Comment 3 Ryosuke Niwa 2022-10-03 22:47:34 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4967
Comment 4 EWS 2022-10-04 10:12:29 PDT
Committed 255132@main (565a28303653): <https://commits.webkit.org/255132@main>

Reviewed commits have been landed. Closing PR #4967 and removing active labels.