summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/gradient/repeat-border-radius.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /gfx/wr/wrench/reftests/gradient/repeat-border-radius.yaml
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/wr/wrench/reftests/gradient/repeat-border-radius.yaml')
-rw-r--r--gfx/wr/wrench/reftests/gradient/repeat-border-radius.yaml137
1 files changed, 137 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/gradient/repeat-border-radius.yaml b/gfx/wr/wrench/reftests/gradient/repeat-border-radius.yaml
new file mode 100644
index 0000000000..b578f80b5d
--- /dev/null
+++ b/gfx/wr/wrench/reftests/gradient/repeat-border-radius.yaml
@@ -0,0 +1,137 @@
+---
+root:
+ items:
+ - type: clip
+ bounds: [20, 20, 100, 100]
+ complex:
+ - rect: [20, 20, 100, 100]
+ radius: 32
+ items:
+ - type: gradient
+ bounds: 20 20 100 100
+ start: 50 0
+ end: 50 100
+ stops: [0.0, red, 1.0, yellow]
+ repeat: true
+
+ - type: rect
+ bounds: [130, 10, 120, 120]
+ color: blue
+
+ - type: clip
+ bounds: [140, 20, 100, 100]
+ complex:
+ - rect: [140, 20, 100, 100]
+ radius: 32
+ items:
+ - type: gradient
+ bounds: 140 20 100 100
+ start: 50 0
+ end: 50 100
+ stops: [0.2, red, 1.0, yellow]
+
+ - type: rect
+ bounds: [260, 10, 120, 120]
+ color: black
+
+ - type: clip
+ bounds: [270, 20, 100, 100]
+ complex:
+ - rect: [270, 20, 100, 100]
+ radius: 32
+ items:
+ - type: gradient
+ bounds: 270 20 100 100
+ start: 50 0
+ end: 51 100
+ stops: [0.0, red, 1.0, yellow]
+
+ - type: clip
+ bounds: [20, 160, 100, 100]
+ complex:
+ - rect: [20, 160, 100, 100]
+ radius: 32
+ items:
+ - type: radial-gradient
+ bounds: 20 160 100 100
+ center: 50 50
+ radius: 25 25
+ stops: [0.0, red, 1.0, yellow]
+
+ - type: rect
+ bounds: [130, 150, 120, 120]
+ color: blue
+
+ - type: clip
+ bounds: [140, 160, 100, 100]
+ complex:
+ - rect: [140, 160, 100, 100]
+ radius: 32
+ items:
+ - type: radial-gradient
+ bounds: 140 160 100 100
+ center: 50 50
+ radius: 25 25
+ stops: [0.0, red, 1.0, yellow]
+
+ - type: rect
+ bounds: [260, 150, 120, 120]
+ color: black
+
+ - type: clip
+ bounds: [270, 160, 100, 100]
+ complex:
+ - rect: [270, 160, 100, 100]
+ radius: 32
+ items:
+ - type: radial-gradient
+ bounds: 270 160 100 100
+ center: 50 50
+ radius: 25 25
+ stops: [0.0, red, 1.0, yellow]
+
+ - type: clip
+ bounds: [20, 300, 100, 100]
+ complex:
+ - rect: [20, 300, 100, 100]
+ radius: 32
+ items:
+ - type: conic-gradient
+ bounds: 20 300 100 100
+ angle: 0.0
+ center: 50 50
+ stops: [0.0, red, 1.0, yellow]
+ repeat: true
+
+ - type: rect
+ bounds: [130, 290, 120, 120]
+ color: blue
+
+ - type: clip
+ bounds: [140, 300, 100, 100]
+ complex:
+ - rect: [140, 300, 100, 100]
+ radius: 32
+ items:
+ - type: conic-gradient
+ bounds: 140 300 100 100
+ angle: 0.0
+ center: 50 50
+ stops: [0.0, red, 1.0, yellow]
+
+ - type: rect
+ bounds: [260, 290, 120, 120]
+ color: black
+
+ - type: clip
+ bounds: [270, 300, 100, 100]
+ complex:
+ - rect: [270, 300, 100, 100]
+ radius: 32
+ items:
+ - type: conic-gradient
+ bounds: 270 300 100 100
+ angle: 0.0
+ center: 50 50
+ stops: [0.0, red, 1.0, yellow]
+