> > When `Element.animate()` is called the target div has no `::before` pseudo-element. > > AFAIK, the `::before` pseudo-element will always exist (in the element tree). Then, it may not generate any box, but this should be no different than an element with `display: none`. If that's true, could you point me to spec text backing this? It would make things easier, indeed. But there are also tests that specifically test whether elements have or don't have `::before` selectors set for elements, specifically web-animations/interfaces/KeyframeEffect/target.html. -- GitHub Notification of comment by graouts Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4745#issuecomment-582543822 using your GitHub accountReceived on Wednesday, 5 February 2020 18:22:16 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:00 UTC