summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/aa/rounded-rects.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /gfx/wr/wrench/reftests/aa/rounded-rects.yaml
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--gfx/wr/wrench/reftests/aa/rounded-rects.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/aa/rounded-rects.yaml b/gfx/wr/wrench/reftests/aa/rounded-rects.yaml
new file mode 100644
index 0000000000..9554707e31
--- /dev/null
+++ b/gfx/wr/wrench/reftests/aa/rounded-rects.yaml
@@ -0,0 +1,56 @@
+---
+root:
+ items:
+ -
+ bounds: 0 0 1000 1000
+ type: stacking-context
+ items:
+ - type: clip
+ id: 3
+ complex:
+ - rect: [50, 50, 200, 200]
+ radius: 8
+ -
+ type: "clip-chain"
+ id: 10
+ clips: [3]
+
+ - type: rect
+ bounds: 50 50 200 200
+ color: red
+ clip-chain: 10
+
+ - type: clip
+ id: 4
+ complex:
+ - rect: [270, 50, 200, 200]
+ radius: [16, 32, 48, 64]
+ -
+ type: "clip-chain"
+ id: 11
+ clips: [4]
+
+ - type: rect
+ bounds: 270 50 200 200
+ color: green
+ clip-chain: 11
+
+ - type: clip
+ id: 5
+ complex:
+ - rect: [490, 50, 500, 500]
+ radius: {
+ top-left: [32, 16],
+ top-right: [40, 24],
+ bottom-left: [48, 64],
+ bottom-right: [52, 80],
+ }
+ -
+ type: "clip-chain"
+ id: 12
+ clips: [5]
+
+ - type: rect
+ bounds: 490 50 500 500
+ color: blue
+ clip-chain: 12 \ No newline at end of file