-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure ResizeObserver fires on first observe()
If an element has the size 0x0, it won't yield an active observation when the gather observation step is run. Set the ResizeObservation::observation_size_ to -1x-1 in the constructor to make sure we always produce an active observation for the element in the first gather observation step it takes part in. Fixed: 1128016 Change-Id: I61a077e5e74699f68a9c5230a980a5f5f0f973ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3970745 Reviewed-by: Dominic Farolino <dom@chromium.org> Reviewed-by: Stefan Zager <szager@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/main@{#1067471}
- Loading branch information
Fredrik Söderquist
authored and
Chromium LUCI CQ
committed
Nov 4, 2022
1 parent
d9534b5
commit f813526
Showing
6 changed files
with
12 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
third_party/blink/web_tests/external/wpt/resize-observer/observe-expected.txt
This file was deleted.
Oops, something went wrong.