Implement SVGGeometryElement's isPointInFill and isPointInStroke
[WebKit-https.git] / LayoutTests / svg / dom / altGlyph-dom.xhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html 
4 xmlns="http://www.w3.org/1999/xhtml" 
5 xmlns:xlink="http://www.w3.org/1999/xlink"
6 >
7 <head>
8 <script src="../../resources/js-test-pre.js"></script>
9 </head>
10 <body>
11
12 <svg xmlns="http://www.w3.org/2000/svg" width="220" height="100">
13   <defs>
14     <font horiz-adv-x="512">
15       <font-face
16         font-family="Mojikyo-test"
17         units-per-em="1024"
18         panose-1="2 0 6 9 0 0 0 0 0 0"
19         ascent="870"
20         descent="-141"
21         baseline="0"/>
22       <missing-glyph horiz-adv-x="1024"><path d="M400 400V620H620V400H400z"/></missing-glyph>
23       <glyph id="M000076" unicode="&#x4e00;" horiz-adv-x="1024"><path d="M537 -47Q501 -108 486 -62V235H99Q58 235 78 264Q92 256 120 256H486V430H243Q202 430 221 459Q235 450 263 450H486V624H171Q130 624 149 654Q163 645 192 645H486V737Q486 794 472 820Q503 820 523 814T554
24 798T567 778T569 760T560 744T548 730T541 712T537 680V645H762Q765 648 769 659T778 675T788 683T807 686T847 678T890 660T913 646T919 636T906 628T871 624H537V450H691Q693 454 697 465T706 481T717 488T735 491T775 483T818 465T841 451T847 441T835 433T800
25 430H537V256H798Q801 259 805 270T814 286T824 293T843 296T883 288T926 271T949 256T955 246T942 238T907 235H537V-47z"/></glyph>
26     </font>
27   </defs>
28 <g>
29 <text x="0" y="80" style="font-family:MingLiU; font-size:72;fill:black">&#x4e00;
30 <tspan style="font-family:Mojikyo-test">
31 <altGlyph format="image/svg+xml" id="altGlyph" xlink:href="#M000076">&amp;M000076;</altGlyph> </tspan>&#x4e01; </text> </g> </svg>
32
33 <p id="description"></p>
34 <div id="console"></div>
35 <script src="resources/altGlyph-dom.js"></script>
36 <script src="../../resources/js-test-post.js"></script>
37 </body>
38
39 </html>