Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / create-metadata-element.svg
blobc89905e506b18bed8632095db8fd5c506065ccd9
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3 <svg version="1.1" baseProfile="basic" id="svg-root" width="100%" height="100%"
4 xmlns:xlink="http://www.w3.org/1999/xlink"
5 xmlns="http://www.w3.org/2000/svg" onload="myfunc()">
6 <script>
7 function myfunc() {
8 var meta = document.createElementNS("http://www.w3.org/2000/svg", "metadata");
9 if([meta] == "[object SVGMetadataElement]") {
10 document.getElementById("rect").setAttributeNS(null, "display", "visible");}
12 </script>
13 <rect id="rect" width="100" height="100" fill="green" display="none"/>
14 </svg>