summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-calc/background-image-gradient-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-calc/background-image-gradient-1.html')
-rw-r--r--layout/reftests/css-calc/background-image-gradient-1.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/css-calc/background-image-gradient-1.html b/layout/reftests/css-calc/background-image-gradient-1.html
new file mode 100644
index 0000000000..2a8b529604
--- /dev/null
+++ b/layout/reftests/css-calc/background-image-gradient-1.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<title>Test for calc() on background-image gradients</title>
+<style>
+
+p {
+ height: 50px; width: 200px;
+ border: thin solid;
+}
+
+#one { background-image: radial-gradient(circle farthest-side at calc(50px + 50%) calc(100% - 30px), red, green); }
+
+</style>
+<p id="one"></p>
+<p id="two"></p>