Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / svg / custom / glyph-setting-d-attribute.svg
blob966e7d05fb634edfc6c16d600c0ed335b8d24a25
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" onload="runTest()">
3 <script type="text/javascript"><![CDATA[
4 function runTest() {
5 var path = 'M0,0L0,1000L1000,1000L1000,0z';
6 document.getElementById('glyph').setAttribute('d', path);
8 ]]></script>
9 <defs>
10 <font horiz-adv-x="500" id="t">
11 <font-face font-family="test" units-per-em="1000" ascent="700" descent="300" />
12 <missing-glyph d="M100,100V900H400V100zM120,120V880H380V120z" />
13 <glyph unicode="a" d="M100,100H400L250,1000z" id="glyph" />
14 </font>
15 </defs>
16 <text font-family="test" font-size="150" x="10" y="160" fill="green" fill-rule="evenodd" >a</text>
17 </svg>