WPT
wpt / web-animations / interfaces / KeyframeEffect / target.html
Spec: Web Animations ↗
Runs: Chrome 155.0.8041.0 (wpt@18be93235, 2026-09-04) | Firefox 157.0a1 (wpt@1b4bc17cf, 2026-09-04) | Safari 251 preview (wpt@2c385f65e, 2026-09-04) | Ladybird 1.0-17043 (wpt@25681acff, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 18/24 | 17/24 | 23/24 | 22/24 | 0/24 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Test setting target before constructing the associated animation | PASS | PASS | PASS | PASS | FAIL | — |
| Test setting target from null to a valid target | PASS | PASS | PASS | PASS | FAIL | — |
| Test setting target from a valid target to null | PASS | PASS | PASS | FAIL | FAIL | — |
| Test setting target from a valid target to another target | PASS | PASS | PASS | FAIL | FAIL | — |
| Target element can be set to a foreign element | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from null to an existing pseudoElement setting target first. | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from null to an existing pseudoElement setting pseudoElement first. | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from an existing pseudo-element to the originating element. | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from an existing to a different existing pseudo-element by setting target. | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from an existing to a different existing pseudo-element by setting pseudoElement. | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from a non-existing to a different existing pseudo-element by setting target. | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from a non-existing to a different existing pseudo-element by setting pseudoElement. | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from null to a non-existing pseudoElement setting target first. | FAIL | FAIL | PASS | PASS | FAIL | — |
| Change target from null to a non-existing pseudoElement setting pseudoElement first. | FAIL | FAIL | PASS | PASS | FAIL | — |
| Change target from a non-existing pseudo-element to the originating element. | PASS | PASS | PASS | PASS | FAIL | — |
| Change target from an existing to a different non-existing pseudo-element by setting target. | FAIL | FAIL | PASS | PASS | FAIL | — |
| Change target from an existing to a different non-existing pseudo-element by setting pseudoElement. | FAIL | FAIL | PASS | PASS | FAIL | — |
| Change target from a non-existing to a different non-existing pseudo-element by setting target. | FAIL | FAIL | PASS | PASS | FAIL | — |
| Change target from a non-existing to a different non-existing pseudo-element by setting pseudoElement. | FAIL | FAIL | PASS | PASS | FAIL | — |
| Changing pseudoElement to a non-null invalid pseudo-selector '' throws a SyntaxError | PASS | PASS | PASS | PASS | FAIL | — |
| Changing pseudoElement to a non-null invalid pseudo-selector 'before' throws a SyntaxError | PASS | PASS | PASS | PASS | FAIL | — |
| Changing pseudoElement to a non-null invalid pseudo-selector ':abc' throws a SyntaxError | PASS | PASS | PASS | PASS | FAIL | — |
| Changing pseudoElement to a non-null invalid pseudo-selector '::abc' throws a SyntaxError | PASS | PASS | PASS | PASS | FAIL | — |
| Changing pseudoElement to ::placeHOLDER works | PASS | FAIL | FAIL | PASS | FAIL | — |