summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/pservers/reftests/pattern-viewbox-01.svg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/pservers/reftests/pattern-viewbox-01.svg')
-rw-r--r--testing/web-platform/tests/svg/pservers/reftests/pattern-viewbox-01.svg17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/pservers/reftests/pattern-viewbox-01.svg b/testing/web-platform/tests/svg/pservers/reftests/pattern-viewbox-01.svg
new file mode 100644
index 0000000000..618b8fc29e
--- /dev/null
+++ b/testing/web-platform/tests/svg/pservers/reftests/pattern-viewbox-01.svg
@@ -0,0 +1,17 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5669 5669" xmlns:html="http://www.w3.org/1999/xhtml">
+ <g id="testmeta">
+ <title>Pattern: viewBox with x offset</title>
+ <html:link rel="help"
+ href="https://www.w3.org/TR/SVG2/pservers.html#Patterns"/>
+ <html:link rel="match" href="reference/pattern-viewbox-01-ref.svg"/>
+ </g>
+ <pattern width="2258.997" height="1289.823" patternUnits="userSpaceOnUse" id="pattern"
+ viewBox="752.999 0 2258.997 1289.823" patternTransform="scale(0.5)">
+ <g transform="translate(0,1934.735)" fill="none" stroke="black" stroke-width="10">
+ <rect x="752.999" y="-1934.735" width="2258.997" height="1289.823"/>
+ <circle cx="1882.4975" cy="-1289.8235" r="644.9115"/>
+ </g>
+ </pattern>
+ <rect width="100%" height="100%" fill="url(#pattern)"/>
+</svg>
+