1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/base/content/test/general/title_test.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,59 @@ 1.4 +<svg width="640px" height="480px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0"> 1.5 + <title>This is a root SVG element's title</title> 1.6 + <foreignObject> 1.7 + <html xmlns="http://www.w3.org/1999/xhtml"> 1.8 + <body> 1.9 + <svg xmlns="http://www.w3.org/2000/svg" id="svg1"> 1.10 + <title>This is a non-root SVG element title</title> 1.11 + </svg> 1.12 + </body> 1.13 + </html> 1.14 + </foreignObject> 1.15 + <text id="text1" x="10px" y="32px" font-size="24px"> 1.16 + This contains only <title> 1.17 + <title> 1.18 + 1.19 + 1.20 + This is a title 1.21 + 1.22 + </title> 1.23 + </text> 1.24 + <text id="text2" x="10px" y="96px" font-size="24px"> 1.25 + This contains only <desc> 1.26 + <desc>This is a desc</desc> 1.27 + </text> 1.28 + <text id="text3" x="10px" y="128px" font-size="24px"> 1.29 + This contains nothing. 1.30 + </text> 1.31 + <a id="link1" xlink:href="#"> 1.32 + This link contains <title> 1.33 + <title> 1.34 + This is a title 1.35 + </title> 1.36 + <text id="text4" x="10px" y="192px" font-size="24px"> 1.37 + </text> 1.38 + </a> 1.39 + <a id="link2" xlink:href="#"> 1.40 + <text x="10px" y="192px" font-size="24px"> 1.41 + This text contains <title> 1.42 + <title> 1.43 + This is a title 1.44 + </title> 1.45 + </text> 1.46 + </a> 1.47 + <a id="link3" xlink:href="#" xlink:title="This is an xlink:title attribute"> 1.48 + <text x="10px" y="224px" font-size="24px"> 1.49 + This link contains <title> & xlink:title attr. 1.50 + <title>This is a title</title> 1.51 + </text> 1.52 + </a> 1.53 + <a id="link4" xlink:href="#" xlink:title="This is an xlink:title attribute"> 1.54 + <text x="10px" y="256px" font-size="24px"> 1.55 + This link contains xlink:title attr. 1.56 + </text> 1.57 + </a> 1.58 + <text id="text5" x="10px" y="160px" font-size="24px" 1.59 + xlink:title="This is an xlink:title attribute but it isn't on a link" > 1.60 + This contains nothing. 1.61 + </text> 1.62 +</svg>