Closed
Bug 1481904
Opened Last year
Closed Last year
[wpt-sync] Sync PR 12358 - [IntersectionObserver] Fix initial notifications for non-zero threshold
Categories
(Core :: Layout, enhancement, P4)
Core
Layout
P4
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: wptsync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12358 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12358 Details from upstream follow. Stefan Zager <szager@chromium.org> wrote: > [IntersectionObserver] Fix initial notifications for non-zero threshold > > When a target is first observed, last_threshold_index_ is set to a > sentinel value (0x1fffffff), to ensure that an initial notification > will be sent on the next frame. For that notification, if the target > is intersecting, but the intersection ratio is less than the smallest > threshold set on the observer, then the isVisible field of the > notification should be false. > > Also, for IOv2, the isVisible field should always be false -- and > skip the expensive hit test -- if the intersection ratio is less > than the smallest threshold set on the observer. > > BUG=847623,827639 > R=chrishtr@chromium.org > > Change-Id: I518ff97a23afd92a82c4d01d9280d57ffb0c9ae2 > Reviewed-on: https://chromium-review.googlesource.com/1167884 > WPT-Export-Revision: 25fba2fda77f64b2af79255fbb030f9c7024b087
Assignee | ||
Updated•Last year
|
Component: web-platform-tests → Layout
Product: Testing → Core
Assignee | ||
Comment 1•Last year
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=4991f889e6ef194dc9c6f8856f71a862816e220c
Assignee | ||
Comment 2•Last year
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b92474c29b42a6b1a6c76838ec6ec292ad4a3878
Assignee | ||
Updated•Last year
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•Last year
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Updated•Last year
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•Last year
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Updated•Last year
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•Last year
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Updated•Last year
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•Last year
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Comment 3•Last year
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b756969680cea4d864d689e52f53cdc91464c197
Assignee | ||
Comment 4•Last year
|
||
Ran 1 tests and 3 subtests OK : 1 PASS : 2 FAIL : 1 New tests that have failures or other problems: /intersection-observer/initial-observation-with-threshold.html First rAF: FAIL
Assignee | ||
Comment 5•Last year
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=ff5096287d2a715e89449afe2825d9039520fe7a
Assignee | ||
Comment 6•Last year
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=717d132fca683f5407e6391162e68a7510f3b1c6
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/fad7f71861a3 [wpt PR 12358] - [IntersectionObserver] Fix initial notifications for non-zero threshold, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/b2ecac097a34 [wpt PR 12358] - Update wpt metadata, a=testonly
Comment 8•Last year
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fad7f71861a3 https://hg.mozilla.org/mozilla-central/rev/b2ecac097a34
Status: NEW → RESOLVED
Closed: Last year
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•