Bug 1632773 [wpt PR 23222] - FindKeyframesRules should use originating element.,...
commit2b65d78f2d74ca0bf2b9b5c77070da3ad6664354
authorRune Lillesveen <futhark@chromium.org>
Tue, 28 Apr 2020 11:45:33 +0000 (28 11:45 +0000)
committerRune Lillesveen <futhark@chromium.org>
Tue, 28 Apr 2020 11:45:33 +0000 (28 11:45 +0000)
tree57c57fd94ca7136d99b0da8b2775fd5b8e88623d
parentd3db6c9c378c7a3da5aa01d262a8dd279c3dd994
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 <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762791}

--

wpt-commits: 245ed57a5e400fff2dc4adbf8e452d64397399cd
wpt-pr: 23222
testing/web-platform/tests/css/css-scoping/keyframes-006.html [new file with mode: 0644]