Bug 245946

Summary: Make ResizeObserver and IntersectionObserver timing match other browsers
Product: WebKit Reporter: Emilio Cobos Álvarez (:emilio) <emilio>
Component: Layout and RenderingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, cathiechen, karlcow, rego, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=196729

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.