summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/compositor-surface/coord-systems.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/compositor-surface/coord-systems.yaml')
-rw-r--r--gfx/wr/wrench/reftests/compositor-surface/coord-systems.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/compositor-surface/coord-systems.yaml b/gfx/wr/wrench/reftests/compositor-surface/coord-systems.yaml
new file mode 100644
index 0000000000..7cc2b77710
--- /dev/null
+++ b/gfx/wr/wrench/reftests/compositor-surface/coord-systems.yaml
@@ -0,0 +1,17 @@
+# Regression test - ensure we don't crash when we encounter a
+# transform hierarchy that has different coordinate systems but
+# results in a final transform that is 2d-axis-aligned
+---
+root:
+ items:
+ - type: stacking-context
+ bounds: [50, 50, 262, 262]
+ transform: rotate(45)
+ items:
+ - type: stacking-context
+ bounds: [0, 0, 262, 262]
+ transform: rotate(-45)
+ items:
+ - image: checkerboard(2,16,16)
+ bounds: [0, 0, 262, 262]
+ prefer-compositor-surface: true