browser/base/content/test/general/title_test.svg

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <svg width="640px" height="480px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0">
     2   <title>This is a root SVG element's title</title>
     3   <foreignObject>
     4     <html xmlns="http://www.w3.org/1999/xhtml">
     5       <body>
     6         <svg xmlns="http://www.w3.org/2000/svg" id="svg1">
     7           <title>This is a non-root SVG element title</title>
     8         </svg>
     9       </body>
    10     </html>
    11   </foreignObject>
    12   <text id="text1" x="10px" y="32px" font-size="24px">
    13     This contains only &lt;title&gt;
    14     <title>
    17     This            is a title
    19     </title>
    20   </text>
    21   <text id="text2" x="10px" y="96px" font-size="24px">
    22     This contains only &lt;desc&gt;
    23     <desc>This is a desc</desc>
    24   </text>
    25   <text id="text3" x="10px" y="128px" font-size="24px">
    26     This contains nothing.
    27   </text>
    28   <a id="link1" xlink:href="#">
    29     This link contains &lt;title&gt;
    30     <title>
    31       This is a title
    32     </title>
    33     <text id="text4" x="10px" y="192px" font-size="24px">
    34     </text>
    35   </a>
    36   <a id="link2" xlink:href="#">
    37     <text x="10px" y="192px" font-size="24px">
    38       This text contains &lt;title&gt;
    39       <title>
    40       This is a title
    41       </title>
    42     </text>
    43   </a>
    44   <a id="link3" xlink:href="#" xlink:title="This is an xlink:title attribute">
    45     <text x="10px" y="224px" font-size="24px">
    46       This link contains &lt;title&gt; &amp; xlink:title attr.
    47       <title>This is a title</title>
    48     </text>
    49   </a>
    50   <a id="link4" xlink:href="#" xlink:title="This is an xlink:title attribute">
    51     <text x="10px" y="256px" font-size="24px">
    52       This link contains xlink:title attr.
    53     </text>
    54   </a>
    55   <text id="text5" x="10px" y="160px" font-size="24px"
    56         xlink:title="This is an xlink:title attribute but it isn't on a link" >
    57     This contains nothing.
    58   </text>
    59 </svg>

mercurial