Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / textPath-path-change2-pattern.svg
blob91bff88f8a5c110687ab8c2fd91a566d8b2adf6f
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
2 <path id="thePath" d="M50 50 L 450 50" />
3 <pattern id="pat" patternUnits="userSpaceOnUse" x="0" y="0" width="400" height="400">
4 <text>
5 <textPath xlink:href="#thePath">This text should be ABOVE the other line.</textPath>
6 <textPath xlink:href="#thePath"><tspan dy="20">This text should be BELOW the other line.</tspan></textPath>
7 </text>
8 </pattern>
9 <rect width="400" height="400" fill="url(#pat)" stroke="black" stroke-width="1"/>
10 <script><![CDATA[
11 function runTest() {
12 var path = document.getElementById("thePath");
13 path.setAttribute("d", "M50 150 L 450 150");
15 ]]></script>
16 </svg>