[wpt-sync] Sync PR 48794 - IntersectionObserver -- properly handle "unknown" occlusion state
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox133 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 48794 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/48794
Details from upstream follow.
Stefan Zager <szager@chromium.org> wrote:
IntersectionObserver -- properly handle "unknown" occlusion state
If we most recently reported a target as "guaranteed visible", then in
the interest of avoiding false positives we must transition to "not
guaranteed visible" if the frame occlusion state becomes "unknown".This CL also makes a child frame inherit its parent's "not visible"
occlusion state rather than calling it "unknown", which is technically
more correct.Bug: chromium:371247941
Change-Id: I4d721dd252d013deac14a12f1f2922830ef2a8a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5950965
Reviewed-by: Xianzhu Wang \<wangxianzhu@chromium.org>
Commit-Queue: Stefan Zager \<szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373093}
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 1 subtests
Status Summary
Firefox
OK
: 3
FAIL
: 3
Chrome
OK
: 3
PASS
: 3
Safari
OK
: 3
FAIL
: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /intersection-observer/v2/cross-origin-effects.sub.html [wpt.fyi]
- Intersection observer V2 test with visual effects on iframe.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Intersection observer V2 test with visual effects on iframe.:
- /intersection-observer/v2/cross-origin-occlusion.sub.html [wpt.fyi]
- Intersection observer V2 test with occlusion of target in iframe.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Intersection observer V2 test with occlusion of target in iframe.:
- /intersection-observer/v2/nested-cross-origin.sub.html [wpt.fyi]
- Intersection observer V2 test with nested cross-origin iframes.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Intersection observer V2 test with nested cross-origin iframes.:
Comment 4•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b4bab3bf42e6
https://hg.mozilla.org/mozilla-central/rev/64b20d04bfd0
Description
•