summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/pattern-transform-presence-01-ref.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/pattern-transform-presence-01-ref.svg')
-rw-r--r--layout/reftests/svg/pattern-transform-presence-01-ref.svg25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/svg/pattern-transform-presence-01-ref.svg b/layout/reftests/svg/pattern-transform-presence-01-ref.svg
new file mode 100644
index 0000000000..f57dcf0ddf
--- /dev/null
+++ b/layout/reftests/svg/pattern-transform-presence-01-ref.svg
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 100">
+<defs>
+ <pattern id="patternRotated" width="1" height="1"
+ patternTransform="rotate(45 50 50)">
+ <rect width="50" height="50" fill="blue"/>
+ <rect x="50" width="50" height="50" fill="red"/>
+ <rect y="50" width="50" height="50" fill="red"/>
+ <rect x="50" y="50" width="50" height="50" fill="blue"/>
+ </pattern>
+ <pattern id="patternNotRotated" width="1" height="1">
+ <rect width="50" height="50" fill="blue"/>
+ <rect x="50" width="50" height="50" fill="red"/>
+ <rect y="50" width="50" height="50" fill="red"/>
+ <rect x="50" y="50" width="50" height="50" fill="blue"/>
+ </pattern>
+</defs>
+<rect width="100" height="100" stroke="black" fill="url(#patternRotated)"/>
+<g transform="translate(100)">
+ <rect width="100" height="100" stroke="black" fill="url(#patternRotated)"/>
+</g>
+<g transform="translate(200)">
+ <rect width="100" height="100" stroke="black" fill="url(#patternNotRotated)"/>
+</g>
+</svg>