gecko-dev/layout/reftests/css-animations/content-on-pseudo-element-at-half.html
Daisuke Akatsuka 55696f4e05 Bug 1382136 - Part 4: add a reftest for 'content' animation on pseudo element. r=hiro
'content' property shoud animate on pseudo element as well.
To confirm the animation, add a reftest.

MozReview-Commit-ID: 4hfx6PLThgZ
2017-08-15 20:51:55 +09:00

15 lines
252 B
HTML

<!DOCTYPE html>
<html>
<style>
@keyframes anim {
from { content: ''; }
to { content: 'content'; }
}
#target::before {
content: 'initial';
animation: anim 100s linear -50s paused;
}
</style>
<div id='target'></div>
</html>