Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / poly-identify.svg
bloba1ca9f60ef4d1dcc52392efdba0fc3ad590638a4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" onload="init()">
3 <script type="text/ecmascript"><![CDATA[
4 function init()
6 var polyline = document.createElementNS("http://www.w3.org/2000/svg", "polyline");
7 var polygon = document.createElementNS("http://www.w3.org/2000/svg", "polygon");
8 if (polyline == "[object SVGPolylineElement]" &&
9 polygon == "[object SVGPolygonElement]") {
10 document.getElementById("passed").setAttribute("fill", "green");
13 ]]></script>
14 <rect id="passed" x="0" y="0" width="100" height="100" fill="red"/>
15 </svg>