summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/tiled-gradients.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-images/tiled-gradients.html')
-rw-r--r--testing/web-platform/tests/css/css-images/tiled-gradients.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-images/tiled-gradients.html b/testing/web-platform/tests/css/css-images/tiled-gradients.html
new file mode 100644
index 0000000000..fdafa1fe99
--- /dev/null
+++ b/testing/web-platform/tests/css/css-images/tiled-gradients.html
@@ -0,0 +1,23 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Eight Red Triangles on White Ground (with gradients)</title>
+ <link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-size">
+ <meta name="assert" content="Gradients are correctly repeated.">
+ <meta name="fuzzy" content="0-255; 0-564">
+ <link rel="match" href="tiled-gradients-ref.html">
+ <style>
+ #gradient {
+ width: 400px;
+ height: 200px;
+ background-size: 25% 50%;
+ background-image: linear-gradient(to bottom left, red 50%, transparent 50%);
+ }
+ </style>
+ </head>
+ <body>
+ <div id="gradient"></div>
+ </body>
+</html>
+