summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-animations/animate-opacity.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-animations/animate-opacity.html')
-rw-r--r--layout/reftests/css-animations/animate-opacity.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/css-animations/animate-opacity.html b/layout/reftests/css-animations/animate-opacity.html
new file mode 100644
index 000000000..ff09fe514
--- /dev/null
+++ b/layout/reftests/css-animations/animate-opacity.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<html>
+<title>Reftest, bug 1156456</title>
+<style>
+
+body {
+ background: #2a4;
+}
+
+@keyframes HoldOpacity {
+ from, to {
+ opacity: 0.6;
+ }
+}
+
+div {
+ width: 200px; height: 200px;
+ background: #c37;
+ animation: 10s HoldOpacity infinite;
+}
+
+</style>
+<div></div>