Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-modify-target-container.svg
blob28d09c51455a72aefeb0e9d88b2d946df5d88e87
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 <svg viewBox="0 0 400 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <defs>
5 <g id="g" transform="translate(0 50)">
6 <rect id="rect" stroke-width="5px" fill="red" stroke="navy" width="60" height="10"/>
7 <circle id="circle" opacity="0.5" fill="green" cx="30" cy="5" r="10"/>
8 </g>
9 </defs>
11 <use x="25" y="25" xlink:href="#g"/>
12 <use x="125" y="25" xlink:href="#g"/>
14 <text font-size="10" id="text" x="30" y="70">You should shapes _above_ this text</text>
16 <script>
17 var useElement = document.getElementsByTagName("use")[1];
18 var element = document.getElementById("g");
20 element.setAttribute("transform", "");
21 </script>
22 </svg>