summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/snap/fractional-filter.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/snap/fractional-filter.yaml')
-rw-r--r--gfx/wr/wrench/reftests/snap/fractional-filter.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/snap/fractional-filter.yaml b/gfx/wr/wrench/reftests/snap/fractional-filter.yaml
new file mode 100644
index 0000000000..6b45682ad2
--- /dev/null
+++ b/gfx/wr/wrench/reftests/snap/fractional-filter.yaml
@@ -0,0 +1,14 @@
+# Verify that a fractional transform that is attached to an off-screen
+# surface is able to snap correctly
+root:
+ items:
+ - type: stacking-context
+ bounds: [0, 0, 1920, 1200]
+ transform: translate(-45, 7.491675)
+ items:
+ - type: stacking-context
+ filters: [opacity(0.9)]
+ items:
+ - text: "This should be pixel aligned!"
+ origin: 416.543499 160.008325
+ size: 16