Skip to content

[web-animation-2] Include CSSNumberish as a valid type for EffectTiming duration - #6703

Merged
flackr merged 4 commits into
w3c:mainfrom
kevers-google:cssnumberish-computed-timing
Sep 30, 2021
Merged

[web-animation-2] Include CSSNumberish as a valid type for EffectTiming duration#6703
flackr merged 4 commits into
w3c:mainfrom
kevers-google:cssnumberish-computed-timing

Conversation

@kevers-google

Copy link
Copy Markdown
Contributor

[web-animation-2] Include CSSNumberish as a valid type for EffectTiming duration

getComputedTiming resolves the iteration duration if specified as 'auto'. The resolved duration is CSSNumberish when the associated animation has a progress based timeline.

@flackr
flackr merged commit 676a597 into w3c:main Sep 30, 2021
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 5, 2021
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 6, 2021
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 6, 2021
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 7, 2021
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3206667
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929410}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 7, 2021
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3206667
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929410}
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Oct 8, 2021
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3206667
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929410}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Oct 14, 2021
…alue for computed effect timing, a=testonly

Automatic update from web-platform-tests
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3206667
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929410}

--

wpt-commits: 342effc0d1b4ac6012201175495d17a2718f8152
wpt-pr: 31126
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Oct 14, 2021
…alue for computed effect timing, a=testonly

Automatic update from web-platform-tests
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3206667
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929410}

--

wpt-commits: 342effc0d1b4ac6012201175495d17a2718f8152
wpt-pr: 31126
Gabisampaio pushed a commit to Gabisampaio/wpt that referenced this pull request Nov 18, 2021
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3206667
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929410}
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
…alue for computed effect timing, a=testonly

Automatic update from web-platform-tests
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:
w3c/csswg-drafts#6703

Bug: 1251374
Change-Id: I3ae227f9ca74ad09f29c0cc73e88bd7a5e4758e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3206667
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929410}

--

wpt-commits: 342effc0d1b4ac6012201175495d17a2718f8152
wpt-pr: 31126
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants