summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/filters/filter-drop-shadow-fractional.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/filters/filter-drop-shadow-fractional.yaml')
-rw-r--r--gfx/wr/wrench/reftests/filters/filter-drop-shadow-fractional.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/filters/filter-drop-shadow-fractional.yaml b/gfx/wr/wrench/reftests/filters/filter-drop-shadow-fractional.yaml
new file mode 100644
index 0000000000..e61ae8ec45
--- /dev/null
+++ b/gfx/wr/wrench/reftests/filters/filter-drop-shadow-fractional.yaml
@@ -0,0 +1,11 @@
+# Verify that drop shadows with fractional blur radii are correctly centered
+---
+root:
+ items:
+ - type: stacking-context
+ bounds: [20, 20, 0, 0]
+ filters: drop-shadow([0, 0], 5.01, [255, 0, 0, 1])
+ items:
+ - type: rect
+ bounds: 0 0 100 100
+ color: black