Bug 173027 - Pseudo-elements (::after) in shadow roots don't animate
Summary: Pseudo-elements (::after) in shadow roots don't animate
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 148695
  Show dependency treegraph
 
Reported: 2017-06-06 12:14 PDT by Keanu Lee
Modified: 2018-08-14 08:04 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keanu Lee 2017-06-06 12:14:45 PDT
E.g. Inside a shadow root:

<style>
    div::after {
      display: inline-block;
      content: 'boo';
      animation: spin 1s infinite;
    }
</style>

Repo: http://output.jsbin.com/kuwado

Expected: The text should have a rotate animation.

Actual: It does not.
Comment 1 Laurent Pellegrino 2018-01-24 12:27:01 PST
The issue is still present in Safari 11.0.2. Any updates?
Comment 2 Radar WebKit Bug Importer 2018-08-01 22:41:01 PDT
<rdar://problem/42842994>
Comment 3 Antoine Quint 2018-08-14 08:04:21 PDT
I tried and this test fails with the new animation code path as well as the old one. The test works fine in Chrome Canary and Firefox Nightly.