Bug 250836 - [ResizeObserver] The initial value of the last reported size should be -1x-1
Summary: [ResizeObserver] The initial value of the last reported size should be -1x-1
Status: RESOLVED DUPLICATE of bug 251015
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: cathiechen
URL:
Keywords: InRadar
Depends on: 251015
Blocks:
  Show dependency treegraph
 
Reported: 2023-01-19 06:32 PST by cathiechen
Modified: 2023-02-01 02:54 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***