- From: Michael Potter via GitHub <sysbot+gh@w3.org>
- Date: Fri, 04 Nov 2022 13:21:22 +0000
- To: public-css-archive@w3.org
This is probably out of scope for this `::slotted()` discussion but I'll give this issue some visibility also just in case. Keyframe animations defined in the parent shadow roots aren't available for `::slotted()` children.
This `animatein` keyframe won't work.
```
:host([animate]) ::slotted(*) {
animation-name: animateIn;
}
@keyframes animateIn {
0% {
opacity: 0;
transform: translate(0, -100%);
}
100% {
opacity: 1;
}
}
```
https://github.com/Polymer/polymer/issues/4688
--
GitHub Notification of comment by heyMP
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7922#issuecomment-1303532844 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 4 November 2022 13:21:24 UTC