fune/testing/web-platform/tests/css/css-scoping/scoped-reference-animation-ref.html
Xiaocheng Hu 96e12e289e Bug 1812661 [wpt PR 38201] - Reland "Propagate tree scope to keyframes", a=testonly
Automatic update from web-platform-tests
Reland "Propagate tree scope to keyframes"

This reverts commit 373f528bb6dc316aaf9ce0ef308ed8e7005a0d97.

Reason for reland: Changed StringKeyframe and CSSCustomIdentValue
to use WeakMember to prevent leak

Original change's description:
> Revert "Propagate tree scope to keyframes"
>
> This reverts commit 50c25ed46796e593de8358b69af78127fde1c8e9.
>
> Reason for revert: Suspect for blink_wpt_tests and blink_web_tests failing on WebKit Linux Leak builder
> i.e. https://ci.chromium.org/ui/p/chromium/builders/ci/WebKit%20Linux%20Leak/47313/overview
>
> Original change's description:
> > Propagate tree scope to keyframes
> >
> > As a follow up patch of crrev.com/c/4167268, this patch resolves
> > tree-scopes references in keyframes by propagating the tree scope
> > to the keyframes, and use that to create tree-scope-populated
> > CSSValues for interpolations.
> >
> > Change-Id: I4cb21b0fbfdc9d8072ad77705ae3516c52e41df2
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4167011
> > Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
> > Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#1097028}
>
> Change-Id: I23493cd16574750061a5c1a8764e8a8a09ddc448
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4196234
> Auto-Submit: Nidhi Jaju <nidhijaju@chromium.org>
> Owners-Override: Nidhi Jaju <nidhijaju@chromium.org>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Commit-Queue: Nidhi Jaju <nidhijaju@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1097181}

Change-Id: I474612b06dc9a6becdcfb04a8c81147d82f05467
Cq-Include-Trybots: luci.chromium.try​:layout_test_leak_detection,linux-wpt-content-shell-leak-detection
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4198375
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1098251}

--

wpt-commits: 7b1babebddf2f0fdd866fa8b83b8621b86590fc9
wpt-pr: 38201
2023-02-02 09:01:29 +00:00

30 lines
460 B
HTML

<!DOCTYPE html>
<title>Tests animation with tree-scoped names and references</title>
<style>
@counter-style from-counter-style {
system: cyclic;
symbols: 'X';
}
@counter-style to-counter-style {
system: cyclic;
symbols: 'O';
}
#target1 {
list-style-type: from-counter-style;
}
#target2 {
list-style-type: to-counter-style;
}
</style>
<ul id="target1">
<li>List marker should be X
</ul>
<ul id="target2">
<li>List marker should be O
</ul>