summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/conic-gradient-center.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-images/conic-gradient-center.html')
-rw-r--r--testing/web-platform/tests/css/css-images/conic-gradient-center.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-images/conic-gradient-center.html b/testing/web-platform/tests/css/css-images/conic-gradient-center.html
new file mode 100644
index 0000000000..ecbc3ffa5c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-images/conic-gradient-center.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Conic gradient with custom center parameter</title>
+<link rel="help" href="https://drafts.csswg.org/css-images-4/#conic-gradients">
+<meta name="assert" content="Rendering of conic-gradient with custom center parameter">
+<link rel="match" href="conic-gradient-center-ref.html">
+<style>
+ #gradient {
+ width: 200px;
+ height: 200px;
+ background-image: conic-gradient(at 25% 25%, red 0 25%, green 25% 50%, blue 50% 75%, black 75% 100%);
+ }
+</style>
+<div id="gradient"></div>