Re: [csswg-drafts] [css-shadow-parts] Make `::slotted()` a combinator (#7922)

> I'm finding that the keyframe defined inside the shadow DOM applies to ::slotted(*) and to the slot itself just fine.

Dove deep into this last night.  Here's the summary of our findings:

Keyframe defined in the shadow DOM scope:
- Works on ::slotted only in Safari
- Works in all browsers on slot (when slot is given a block display value)
- Found no examples of leaking the keyframe out of the shadow DOM (tested calling the animation from an external stylesheet.

Keyframe defined in a style tag assigned to the slot:
- Works on ::slotted in Firefox & Chrome
- Does not work on slot

Found no examples of a keyframe defined in the global DOM scope crossing the boundary into the shadow DOM.

With that, I'll stop squirreling on this topic as it feels unrelated to the primary goal laid out in the description.


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


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

Received on Wednesday, 9 November 2022 12:29:24 UTC