summaryrefslogtreecommitdiffstats
path: root/dom/svg/test/bbox-helper.svg
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /dom/svg/test/bbox-helper.svg
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'dom/svg/test/bbox-helper.svg')
-rw-r--r--dom/svg/test/bbox-helper.svg38
1 files changed, 38 insertions, 0 deletions
diff --git a/dom/svg/test/bbox-helper.svg b/dom/svg/test/bbox-helper.svg
new file mode 100644
index 000000000..cf085b4fd
--- /dev/null
+++ b/dom/svg/test/bbox-helper.svg
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <g transform="scale(0.5)">
+ <foreignObject id="fO" x="10" y="10" width="100" height="100"/>
+ <image id="i" x="10" y="10" width="100" height="100"/>
+ </g>
+ <text id="b" x="20" y="20">b</text>
+ <text id="a" x="20" y="30">a</text>
+ <text id="y" x="20" y="40">y</text>
+ <text id="tspan">
+ <tspan x="20" y="20">b</tspan>
+ </text>
+ <text id="text" x="20" y="60">text</text>
+ <!-- &#8206; is the same as the HTML &lrm; -->
+ <text id="lrmText" x="20" y="60">&#8206;text</text>
+ <g id="v">
+ <circle cx="100" cy="50" r="5"/>
+ <path d="M 100,100 L 100,200"/>
+ </g>
+ <g id="h">
+ <circle cx="200" cy="50" r="5"/>
+ <path d="M 200,100 L 300,100"/>
+ </g>
+ <g id="e">
+ <!-- empty container should not affect parent's bbox -->
+ <g/>
+ <!-- neither should a path, -->
+ <path/>
+ <!-- a polygon -->
+ <polygon/>
+ <!-- or an empty text element -->
+ <text x="185" y="25"/>
+ <circle cx="100" cy="100" r="5"/>
+ <g/>
+ <circle cx="100" cy="100" r="5"/>
+ <g/>
+ </g>
+</svg>