Re: [csswg-drafts] [css-shadow-parts-1] Does @keyframes rule match in ::parts()? (#1516)

> I just encountered this issue while experimenting with Shadow Parts (https://jsfiddle.net/6dqm5oLr/1/). Now that I've read your discussions, it makes sense why it does not work, since the `@keyframes` declaration is not in the same scope (Shadow root). This is not a huge issue for my potential use case though, since it should be possible to use `<slot>` instead for the use cases where `animation` is really needed.

Just so I understand this correctly - You're saying that without changing the actual HTML/javascript in your fiddle, it's`currently impossible to use `@keyframes` on the "Shadow Part title"? (I tried moving the `@keyframes` into the `::part(title)` but that didn't help)

-- 
GitHub Notification of comment by lentschi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1516#issuecomment-968269616 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 14 November 2021 11:11:58 UTC