Bug 250836

Summary: [ResizeObserver] The initial value of the last reported size should be -1x-1
Product: WebKit Reporter: cathiechen <cathiechen>
Component: DOMAssignee: cathiechen <cathiechen>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=250900
Bug Depends on: 251015    
Bug Blocks:    

Description cathiechen 2023-01-19 06:32:22 PST
According to the discussion in [1], we got the conclusion:

> When first observing an element with ResizeObserver, lastReportedSize gets initialized with a -1 x -1 size

[1] https://github.com/w3c/csswg-drafts/issues/3664
Comment 1 Ahmad Saleem 2023-01-22 01:37:20 PST
Pull Request - https://github.com/WebKit/WebKit/pull/8839
Comment 2 Radar WebKit Bug Importer 2023-01-26 06:33:19 PST
<rdar://problem/104692717>
Comment 3 cathiechen 2023-02-01 02:54:45 PST
We merged the two patches together to avoid unnecessary EWS failures.

*** This bug has been marked as a duplicate of bug 251015 ***