Closed Bug 1734249 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31126 - Converted duration to return CSSNumericValue for computed effect timing

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31126 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31126
Details from upstream follow.

Jordan Taylor <jortaylo@microsoft.com> wrote:

Converted duration to return CSSNumericValue for computed effect timing

When using a scroll timeline with an animation, calling
getComputedTiming().duration on its effect will now return a
CSSNumericValue containaning the computed percentage.

This change brings our implementation in line with recent spec changes:
https://github.com/w3c/csswg-drafts/pull/6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
Reviewed-on: https://chromium-review.googlesource.com/3206667
WPT-Export-Revision: b3b45e80d4bb568284e0d63c08e74da5344b96d1

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 66 subtests

Status Summary

Firefox

OK : 1
FAIL: 66

Chrome

OK : 1
PASS: 61
FAIL: 5

Safari

OK : 1
FAIL: 66

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/scroll-animations/effect-updateTiming.html
Allows setting the delay to a positive number: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the delay to a negative number: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the delay of an animation in progress: positive delay that causes the animation to be no longer in-effect: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the delay of an animation in progress: negative delay that seeks into the active interval: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the delay of an animation in progress: large negative delay that causes the animation to be finished: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid delay value: NaN: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid delay value: Infinity: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid delay value: -Infinity: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the endDelay to a positive number: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the endDelay to a negative number: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting the endDelay to infinity: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting the endDelay to negative infinity: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the fill to 'none': FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the fill to 'forwards': FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the fill to 'backwards': FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the fill to 'both': FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the iterationStart of an animation in progress: backwards-filling: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the iterationStart of an animation in progress: active phase: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the iterationStart of an animation in progress: forwards-filling: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid iterationStart value: -1: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid iterationStart value: NaN: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid iterationStart value: Infinity: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid iterationStart value: -Infinity: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting iterations to a double value: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting iterations to Infinity: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the iterations of an animation in progress: FAIL (Chrome: FAIL, Safari: FAIL)
Allows setting the iterations of an animation in progress with duration "auto": FAIL (Chrome: FAIL, Safari: FAIL)
Allows setting the duration to 123.45: FAIL (Chrome: FAIL, Safari: FAIL)
Allows setting the duration to auto: FAIL (Chrome: FAIL, Safari: FAIL)
Throws when setting invalid duration: -1: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid duration: NaN: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid duration: Infinity: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid duration: -Infinity: FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid duration: "abc": FAIL (Chrome: PASS, Safari: FAIL)
Throws when setting invalid duration: "100": FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the duration of an animation in progress: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the duration of an animation in progress such that the the start and current time do not change: FAIL (Chrome: FAIL, Safari: FAIL)
Allows setting the direction to each of the possible keywords: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the direction of an animation in progress from 'normal' to 'reverse': FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the direction of an animation in progress from 'normal' to 'reverse' while at start of active interval: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the direction of an animation in progress from 'normal' to 'reverse' while filling backwards: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the direction of an animation in progress from 'normal' to 'alternate': FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the direction of an animation in progress from 'alternate' to 'alternate-reverse': FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a step-start function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a steps(1, start) function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a steps(2, start) function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a step-end function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a steps(1) function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a steps(1, end) function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a steps(2, end) function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a linear function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a ease function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a ease-in function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a ease-in-out function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a ease-out function: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a easing function which produces values greater than 1: FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing to a easing function which produces values less than 1: FAIL (Chrome: PASS, Safari: FAIL)
Updates the specified value when setting the easing to 'ease': FAIL (Chrome: PASS, Safari: FAIL)
Updates the specified value when setting the easing to 'linear': FAIL (Chrome: PASS, Safari: FAIL)
Updates the specified value when setting the easing to 'ease-in': FAIL (Chrome: PASS, Safari: FAIL)
Updates the specified value when setting the easing to 'ease-out': FAIL (Chrome: PASS, Safari: FAIL)
Updates the specified value when setting the easing to 'ease-in-out': FAIL (Chrome: PASS, Safari: FAIL)
Updates the specified value when setting the easing to 'cubic-bezier(0.1, 5, 0.23, 0)': FAIL (Chrome: PASS, Safari: FAIL)
Updates the specified value when setting the easing to 'steps(3, start)': FAIL (Chrome: PASS, Safari: FAIL)
Updates the specified value when setting the easing to 'steps(3)': FAIL (Chrome: PASS, Safari: FAIL)
Allows setting the easing of an animation in progress: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/03700137e25c
[wpt PR 31126] - Converted duration to return CSSNumericValue for computed effect timing, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.