summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/pattern-transformed-02.svg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/svg/pattern-transformed-02.svg
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/svg/pattern-transformed-02.svg')
-rw-r--r--layout/reftests/svg/pattern-transformed-02.svg29
1 files changed, 29 insertions, 0 deletions
diff --git a/layout/reftests/svg/pattern-transformed-02.svg b/layout/reftests/svg/pattern-transformed-02.svg
new file mode 100644
index 0000000000..078f3c66dd
--- /dev/null
+++ b/layout/reftests/svg/pattern-transformed-02.svg
@@ -0,0 +1,29 @@
+<svg width="800" height="500" xmlns="http://www.w3.org/2000/svg">
+
+ <text x="25" y="25">Both patterns should render without blurriness</text>
+
+ <pattern id="pattern1" viewBox="0 0 100 20" width="100" height="20"
+ patternUnits="userSpaceOnUse">
+ <circle r="2" cx="10" cy="10" fill="green"/>
+ <circle r="4" cx="30" cy="10" fill="green"/>
+ <circle r="6" cx="50" cy="10" fill="green"/>
+ <circle r="8" cx="70" cy="10" fill="green"/>
+ <circle r="10" cx="90" cy="10" fill="green"/>
+ </pattern>
+
+ <circle r="150" cx="200" cy="200" stroke="gray" fill="none"/>
+ <circle r="150" cx="200" cy="200" fill="url(#pattern1)"/>
+
+ <pattern id="pattern2" viewBox="0 0 20 100" width="20" height="100"
+ patternUnits="userSpaceOnUse" patternTransform="rotate(270)">
+ <circle r="2" cx="10" cy="10" fill="green"/>
+ <circle r="4" cx="10" cy="30" fill="green"/>
+ <circle r="6" cx="10" cy="50" fill="green"/>
+ <circle r="8" cx="10" cy="70" fill="green"/>
+ <circle r="10" cx="10" cy="90" fill="green"/>
+ </pattern>
+
+ <circle r="150" cx="600" cy="200" stroke="gray" fill="none"/>
+ <circle r="150" cx="600" cy="200" fill="url(#pattern2)"/>
+
+</svg>