Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / js-update-image-and-display3.svg
blobdcf4bfc6f8ffe7da5e4e81f8f808e3d8dd1b734a
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 // set
10 document.getElementById("image").href.baseVal = "resources/green-checker.png";
11 document.getElementById("image").setAttribute("display", "inherit");
13 // unset
14 document.getElementById("image").setAttributeNS("http://www.w3.org/1999/xlink", "href", ""
16 document.getElementById("image").setAttribute("display", "none");
18 // set
19 document.getElementById("image").href.baseVal = "resources/green-checker.png";
20 document.getElementById("image").setAttribute("display", "inherit");
22 if (window.testRunner)
23 testRunner.notifyDone();
26 </script>
27 </svg>