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

@lentschi from the above thread:

- `@keyframes` is not inherited into shadow-roots from global scopes
- `@font-face` for instance is inherited into shadow-roots (you don't need to re-import new fonts inside shadow-roots)

What this means is that my fiddle is not working, since inside the shadow-root there is no `@keyframes` with the name `colors`. So yes, my example does not work unless you e.g. copy the `@keyframes` into the `<template>` for the shadow-root: https://jsfiddle.net/srzv35cm/.

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


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

Received on Tuesday, 7 December 2021 17:39:39 UTC