Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / invalid-lengthlist.svg
blobdefe12ab88e54cc58f50b04f23fe914c60758f92
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" onload="runTest()">
3 <script type="text/ecmascript"><![CDATA[
4 function runTest() {
5 var test = document.getElementById("test");
6 if(test.x.baseVal.numberOfItems == 0) {
7 var result = document.getElementById("result");
8 result.setAttribute("fill", "green");
11 ]]></script>
12 <g>
13 <text id="test" x="1.2.3" y="20"></text>
14 <rect id="result" width="100" height="100" fill="red"/>
15 <text y="130">Above a green rectangle should be displayed.</text>
16 <text y="150">It tests that x="1.2.3" as length is not accepted. Bug 15464.</text>
17 </g>
18 </svg>