From 9a87c197203625f2d731a6e0e53ee80f029fa827 Mon Sep 17 00:00:00 2001 From: Rune Lillesveen Date: Tue, 28 Apr 2020 11:45:33 +0000 Subject: [PATCH] Bug 1632773 [wpt PR 23222] - FindKeyframesRules should use originating element., a=testonly Automatic update from web-platform-tests FindKeyframesRules should use originating element. It's only using the TreeScope to find @keyframes in which case using the originating element for pseudo elements should work. Even better when the originating element is a shadow host, so that we look up :host rules from the shadow tree for :host::before { animation-name: anim }. Bug: 961941 Change-Id: I38edec156eaaa7cfb3680762b135323deae00a68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2162988 Reviewed-by: Anders Hartvoll Ruud Commit-Queue: Rune Lillesveen Cr-Commit-Position: refs/heads/master@{#762791} -- wpt-commits: 245ed57a5e400fff2dc4adbf8e452d64397399cd wpt-pr: 23222 --- .../tests/css/css-scoping/keyframes-006.html | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/web-platform/tests/css/css-scoping/keyframes-006.html diff --git a/testing/web-platform/tests/css/css-scoping/keyframes-006.html b/testing/web-platform/tests/css/css-scoping/keyframes-006.html new file mode 100644 index 000000000000..79c39a14ac18 --- /dev/null +++ b/testing/web-platform/tests/css/css-scoping/keyframes-006.html @@ -0,0 +1,29 @@ + +CSS Test: @keyframes applies to :host::before/::after. + + + +
+