Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / text-xy-updates-SVGList.xhtml
blob6d87761edda25959de716d7ac0000ffd9738d331
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:svg="http://www.w3.org/2000/svg">
5 <head>
6 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
7 <script type="text/javascript">
8 function createSVGLength(e, value) {
9 var result = e.ownerSVGElement.createSVGLength();
10 result.value = value;
11 return result;
14 function repaintTest() {
15 var e = document.getElementById("ttt");
16 e.x.baseVal.initialize(createSVGLength(e, 200));
17 e.y.baseVal.initialize(createSVGLength(e, 20));
19 </script>
20 </head>
21 <body onload="runRepaintAndPixelTest()">
22 <svg:svg
23 xmlns="http://www.w3.org/2000/svg"
24 version="1.1" baseProfile="full" width="800" height="600">
25 <text id="ttt" x="10" y="200">Passes, if text is at 200x20</text>
26 </svg:svg>
27 </body>
28 </html>