Bug 250836
| Summary: | [ResizeObserver] The initial value of the last reported size should be -1x-1 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | cathiechen <cathiechen> |
| Component: | DOM | Assignee: | 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: | |||
cathiechen
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
Pull Request - https://github.com/WebKit/WebKit/pull/8839
Radar WebKit Bug Importer
<rdar://problem/104692717>
cathiechen
We merged the two patches together to avoid unnecessary EWS failures.
*** This bug has been marked as a duplicate of bug 251015 ***