[wpt-sync] Sync PR 50963 - [functions] Use keyframe's tree scope when resolving keyframe values
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50963 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50963
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
[functions] Use keyframe's tree scope when resolving keyframe values
CSSInterpolationType calls StyleCascade::Resolve to deal with
substitution functions and other "difficult" values (e.g. revert)
before setting up the interpolation. Since substitution functions
now require tree-scoped lookup (due to \<dashed-function>s), we need
to plumb through the originating tree scope from the @keyframes rule.The WPT in this CL is missing the usual shadow-crossing tests due
to Issue 41386421, but does at least verify that we propagate the
tree scope. (The tests fail without this CL.)Bug: 325504770, 394111301
Change-Id: I01edcc6e91c5d78f9f7d8a4d99ddca6dea3fd4a5
Reviewed-on: https://chromium-review.googlesource.com/6298190
WPT-Export-Revision: bf17104db7f7a6a641e5a661a77ef4de6ab5cb73
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Comment 1•25 days ago
|
||
Assignee | ||
Comment 2•25 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 3 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 3
Chrome
OK
: 1
FAIL
: 3
Safari
OK
: 1
FAIL
: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-mixins/function-shadow-animations.html [wpt.fyi]
- Can animate standard property in shadow:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Can animate typed custom property in shadow:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Can animate untyped custom property in shadow:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Can animate standard property in shadow:
Comment 4•24 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2ae9aaf8a310
https://hg.mozilla.org/mozilla-central/rev/3606a5c251c7
Description
•