summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/tiled-conic-gradients.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-images/tiled-conic-gradients.html')
-rw-r--r--testing/web-platform/tests/css/css-images/tiled-conic-gradients.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-images/tiled-conic-gradients.html b/testing/web-platform/tests/css/css-images/tiled-conic-gradients.html
new file mode 100644
index 0000000000..22f9f4b6ba
--- /dev/null
+++ b/testing/web-platform/tests/css/css-images/tiled-conic-gradients.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Checkerboard using conic gradients</title>
+<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-size">
+<meta name="assert" content="Gradients are correctly repeated.">
+<link rel="match" href="tiled-conic-gradients-ref.html">
+<style>
+ #gradient {
+ width: 200px;
+ height: 200px;
+ background-color: red;
+ background-size: 20% 20%;
+ background-image: conic-gradient(black 0 25%, white 0 50%, black 0 75%, white 0);
+ }
+</style>
+<div id="gradient"></div>