Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / js-update-image-and-display2.svg
blob62c00eb2e5732d54e7aa3019bf1692bc6eb56118
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="test()">
3 <image id="image" xlink:href="" width="75" height="75" />
4 <script>
5 if (window.testRunner)
6 testRunner.waitUntilDone();
8 function test() {
9 // remove
10 document.getElementById("image").removeAttributeNS("http://www.w3.org/1999/xlink", "href", "");
11 document.getElementById("image").setAttribute("display", "none");
13 // set
14 document.getElementById("image").setAttributeNS("http://www.w3.org/1999/xlink", "href", "resources/green-checker.png");
15 document.getElementById("image").setAttribute("display", "inherit");
17 if (window.testRunner)
18 testRunner.notifyDone();
21 </script>
22 </svg>