summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-animations/content-on-pseudo-element-at-beginning.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/css-animations/content-on-pseudo-element-at-beginning.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/css-animations/content-on-pseudo-element-at-beginning.html b/layout/reftests/css-animations/content-on-pseudo-element-at-beginning.html
new file mode 100644
index 0000000000..0d4f05890b
--- /dev/null
+++ b/layout/reftests/css-animations/content-on-pseudo-element-at-beginning.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <style>
+ @keyframes anim {
+ from { content: 'content'; }
+ to { content: ''; }
+ }
+ #target::before {
+ content: 'initial';
+ animation: anim 100s paused;
+ }
+ </style>
+ <div id='target'></div>
+</html>