[wpt-sync] Sync PR 22343 - [scroll-timeline] Implement element-based scroll offset
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22343 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22343
Details from upstream follow.
Majid Valipour <majidvp@chromium.org> wrote:
[scroll-timeline] Implement element-based scroll offset
Implement basic calculation taking edge and threshold into account
Add edge to IDLChange-Id: I38caf32e775e6827a9b7d8763bb7cf9c86fc29c3
Reviewed-on: https://chromium-review.googlesource.com/2100887
WPT-Export-Revision: 60dd242370662d7da399c399411b5d5696546543
Assignee | ||
Comment 1•9 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=7e7e3bcc74ab09649c777057e36ee3815abee06c
Assignee | ||
Comment 2•9 months ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 72 tests
Status Summary
Firefox
OK : 9
PASS : 57
FAIL : 76[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 78[GitHub]
TIMEOUT: 6
Chrome
OK : 9
PASS : 63
FAIL : 21
Safari
OK : 9
FAIL : 78
TIMEOUT: 6
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/scroll-animations/setting-current-time.html
Set animation current time to a value beyond effect end.: FAIL (Chrome: PASS, Safari: FAIL)
Set animation current time to a negative value.: FAIL (Chrome: PASS, Safari: FAIL)
Set animation current time to a valid value while playing.: FAIL (Chrome: PASS, Safari: FAIL)
Setting animation current time to null throws TypeError.: FAIL (Chrome: PASS, Safari: FAIL)
Setting animation.currentTime then restarting the animation should reset the current time.: FAIL (Chrome: PASS, Safari: FAIL)
Set animation current time to a valid value without playing.: FAIL (Chrome: PASS, Safari: FAIL)
Setting current time while play pending overrides the current time: FAIL (Chrome: PASS, Safari: FAIL)
Set Animation current time then scroll.: FAIL (Chrome: PASS, Safari: FAIL)
/scroll-animations/animation-with-display-none.html: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
/scroll-animations/element-based-offset.html
Animation start and current times are correct given
element-based offsets for orienation horizontal and with end edge and threshold 1.0.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and with end edge.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation horizontal and at start.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation horizontal and after end.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation horizontal and at middle.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation horizontal and with threshold 0.5.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and after start.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation horizontal and after start.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and at end.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation horizontal and with end edge.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation horizontal and with threshold 1.0.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and with threshold 0.5.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and at start.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and with end edge and threshold 1.0.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and with threshold 1.0.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and after end.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation vertical and at middle.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct given
element-based offsets for orienation horizontal and at end.: FAIL (Chrome: FAIL, Safari: FAIL)
/scroll-animations/animation-with-transform.html: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
/scroll-animations/current-time-writing-modes.html
currentTime handles startScrollOffset with direction: rtl correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles direction: rtl correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles endScrollOffset with direction: rtl correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles writing-mode: vertical-rl correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles writing-mode: vertical-lr correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles endScrollOffset (inclusive case) with direction: rtl correctly: FAIL (Chrome: PASS, Safari: FAIL)
/scroll-animations/scroll-timeline-invalidation.html
If scroll animation resizes its scroll timeline scroller, layout runs only once to reflect the initial update.: FAIL (Chrome: PASS, Safari: FAIL)
Animation current time and effect local time are updated after scroller size changes.: FAIL (Chrome: PASS, Safari: FAIL)
Animation current time and effect local time are updated after scroller content size changes.: FAIL (Chrome: PASS, Safari: FAIL)
/scroll-animations/animation-with-root-scroller.html: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
/scroll-animations/current-time-root-scroller.html
currentTime calculates the correct time for a document.scrollingElement scrollSource: FAIL (Chrome: PASS, Safari: FAIL)
/scroll-animations/setting-playback-rate.html
Zero current time is not affected by playbackRate set while the animation is in play-pending state.: FAIL (Chrome: PASS, Safari: FAIL)
Initial current time is scaled by playbackRate set while scroll-linked animation is in running state.: FAIL (Chrome: PASS, Safari: FAIL)
The current time is not affected by playbackRate set while the scroll-linked animation is in play state.: FAIL (Chrome: PASS, Safari: FAIL)
Reversing the playback rate while playing correctly impacts current time during future scrolls: FAIL (Chrome: PASS, Safari: FAIL)
Setting the playback rate while playing preserves the current time from scrollTimeline.: FAIL (Chrome: PASS, Safari: FAIL)
Zero initial playback rate should correctly modify initial current time.: FAIL (Chrome: PASS, Safari: FAIL)
The playback rate affects the rate of progress of the current time when scrolling: FAIL (Chrome: PASS, Safari: FAIL)
Setting the playback rate while play-pending preserves the set current time.: FAIL (Chrome: PASS, Safari: FAIL)
Setting the playback rate while play-pending preserves the current time from scrollTimeline.: FAIL (Chrome: PASS, Safari: FAIL)
Zero current time is not affected by playbackRate set while the animation is in idle state.: FAIL (Chrome: PASS, Safari: FAIL)
The playback rate set before scroll-linked animation started playing affects the rate of progress of the current time: FAIL (Chrome: PASS, Safari: FAIL)
Negative initial playback rate should correctly modify initial current time.: FAIL (Chrome: PASS, Safari: FAIL)
Setting a zero playback rate while running preserves the current time: FAIL (Chrome: PASS, Safari: FAIL)
Setting the playback rate while playing preserves the set current time.: FAIL (Chrome: PASS, Safari: FAIL)
/scroll-animations/current-time.html
currentTime handles startScrollOffset and endScrollOffset together correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles startScrollOffset correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime calculates the correct time based on scrolled amount: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles endScrollOffset correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles startScrollOffset > endScrollOffset correctly: FAIL (Chrome: PASS, Safari: FAIL)
currentTime adjusts correctly for the timeRange: FAIL (Chrome: PASS, Safari: FAIL)
currentTime handles startScrollOffset == endScrollOffset correctly: FAIL (Chrome: PASS, Safari: FAIL)
/scroll-animations/scroll-animation.html
Animation start and current times are correct if scroll timeline is activated after animation.play call.: FAIL (Chrome: PASS, Safari: FAIL)
Animation start and current times are correct for each animation state.: FAIL (Chrome: PASS, Safari: FAIL)
Sending animation finished events by finished animation on reverse scrolling.: FAIL (Chrome: FAIL, Safari: FAIL)
Finished animation plays on reverse scrolling.: FAIL (Chrome: FAIL, Safari: FAIL)
Animation start and current times are correct for each animation state when the animation starts playing with advanced scroller.: FAIL (Chrome: PASS, Safari: FAIL)
Animation start and current times are correct when multiple animations are attached to the same timeline.: FAIL (Chrome: PASS, Safari: FAIL)
/scroll-animations/two-animations-attach-to-same-scroll-timeline-cancel-one.html: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
/scroll-animations/two-animations-attach-to-same-scroll-timeline.html: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
/scroll-animations/scroll-timeline-phases.tentative.html
Timeline phase while start offset is equal to end offset and scroll offset is before start: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while scroll offset is at start: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while scroll offset is at end: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while start offset is greater than end offset and scroll offset is before end: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while start offset is greater than end offset and scroll offset is at end: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while start offset is greater than end offset and scroll offset is at start: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while start offset is greater than end offset and scroll offset is after start: FAIL (Chrome: PASS, Safari: FAIL)
Scroll timeline starts inactive, can transition to active, and then back to inactive.: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while scroll offset is in range: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while scroll offset is before start: FAIL (Chrome: PASS, Safari: FAIL)
Setting scroll timeline phase (which is readonly) throws TypeError.: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while scroll offset is after end: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while start offset is equal to end offset and scroll offset is after end: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while start offset is equal to end offset and scroll offset is at both: FAIL (Chrome: PASS, Safari: FAIL)
Timeline phase while start offset is greater than end offset and scroll offset is before start: FAIL (Chrome: PASS, Safari: FAIL)
/scroll-animations/animation-with-overflow-hidden.html: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e30428fc2e3 [wpt PR 22343] - [scroll-timeline] Implement element-based scroll offset, a=testonly https://hg.mozilla.org/integration/autoland/rev/b245fc8b4d71 [wpt PR 22343] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/97cead11ec4a [wpt PR 22343] - [scroll-timeline] Implement element-based scroll offset, a=testonly https://hg.mozilla.org/integration/autoland/rev/73a40ddaf64e [wpt PR 22343] - Update wpt metadata, a=testonly
Comment 5•9 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/97cead11ec4a
https://hg.mozilla.org/mozilla-central/rev/73a40ddaf64e
Description
•