summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/container-queries/container-units-gradient-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/container-queries/container-units-gradient-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-contain/container-queries/container-units-gradient-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/container-queries/container-units-gradient-ref.html b/testing/web-platform/tests/css/css-contain/container-queries/container-units-gradient-ref.html
new file mode 100644
index 0000000000..dbdabd9bc4
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/container-queries/container-units-gradient-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+ .container {
+ width: 400px;
+ height: 300px;
+ display: flex;
+ flex-wrap: wrap;
+ }
+ .box {
+ width: 100px;
+ height: 100px;
+ margin: 5px;
+ }
+</style>
+<div class=container>
+ <div class=box style="background:linear-gradient(green 20px, blue 30px)"></div>
+ <div class=box style="background:linear-gradient(green 20px, blue 30px)"></div>
+ <div class=box style="background:linear-gradient(green 15px, blue 40px)"></div>
+ <div class=box style="background:radial-gradient(green 20px, blue 30px)"></div>
+ <div class=box style="background:conic-gradient(from 180deg at 30px, green, blue);"></div>
+</div>