Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / polyline-setattribute-points-null.svg
blobbf7b101bd124d254f87ea5344a88dd783e99832a
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" onload="init()">
4 <script>
5 var d;
6 function init()
8 var polyline = document.createElementNS("http://www.w3.org/2000/svg", "polyline");
9 polyline.setAttribute("points", d);
10 var g = document.getElementById("container");
11 g.appendChild(polyline);
12 // verify that the script arrived here without error by filling the rectangle with green
13 document.getElementById("passed").setAttribute("fill", "green");
15 </script>
17 <rect id="passed" x="0" y="0" width="100" height="100" fill="red"/>
18 <g id="container"></g>
20 </svg>