Skip to content
Snippets Groups Projects
user avatar
Xiaocheng Hu authored
Automatic update from web-platform-tests
Convert animation-timeline property value to tree-scoped

Following the plan in crrev.com/c/4167268, this patch converts the
animation-timeline property to use tree-scoped-populated CSS values
instead of ScopedCSSValue.

There's a minor behavior change that the support of <string> values in
the property has been removed. This is because:
- The spec doesn't allow <string> values [1]
- Allowing <string> values will complicate the implementation, as it
  requires populating TreeScope into a CSSStringValue, which doesn't
  make much sense

Note: animation-timeline is currently an experimental feature, so we
don't need any Blink intents to modify its behavior.

[1] https://drafts.csswg.org/css-animations-2/#propdef-animation-timeline

Bug: 1395026
Change-Id: I8a44e8d2759a49368cbe864d8c3285aa0a79dca3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4196352


Reviewed-by: default avatarAnders Hartvoll Ruud <andruud@chromium.org>
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1097818}

--

wpt-commits: 5ef3eda5c7ca71a2eadc01d9854893c33317ca0e
wpt-pr: 38204
412314c2
History
An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.