Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / svg2-loadevents-normal-displaynone.svg
blob35df3004ab667168118967008305e54e839b06dd
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="reportLoadEvent(this);runTest();">
2 <script>
3 <![CDATA[
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 var results = new Array();
9 function reportLoadEvent(el) {
10 results.push(el.localName);
12 function runTest()
14 var test = document.getElementById("console");
15 if ( results.length != 2 || results[0] != "image" ||
16 results[1] != "svg") {
17 test.appendChild(document.createTextNode("Failed"));
18 } else {
19 test.appendChild(document.createTextNode("Passed"));
22 ]]>
23 </script>
24 <g onload="reportLoadEvent(this)">
25 <image display="none" id="image" onload="reportLoadEvent(this)" width="100" height="100" xlink:href="resources/green-checker.png" />
26 <text y="130" x="20">This tests normal load dispatching order and an image that does not render(display=none).</text>
27 <text y="150" x="20" id="console" onload="reportLoadEvent(this)"/>
28 </g>
29 </svg>