summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/aa/rotated-line.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/aa/rotated-line.yaml')
-rw-r--r--gfx/wr/wrench/reftests/aa/rotated-line.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/aa/rotated-line.yaml b/gfx/wr/wrench/reftests/aa/rotated-line.yaml
new file mode 100644
index 0000000000..19f1c2c57f
--- /dev/null
+++ b/gfx/wr/wrench/reftests/aa/rotated-line.yaml
@@ -0,0 +1,13 @@
+# Ensure that under certain transformations with single pixel width
+# lines, the AA is applied correctly along the primitive
+---
+root:
+ items:
+ -
+ type: stacking-context
+ transform-origin: 200 200
+ transform: rotate(45)
+ items:
+ - type: rect
+ bounds: 200 200 1 200
+ color: black