Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / relative-sized-inner-svg.xhtml
blobfefe2903a0638dc06812d5b797ddf2bb8b7556e8
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 </head>
5 <body onload="runRepaintAndPixelTest()">
6 <p>The svg area contained in the div element (red box), should fill out the whole area with a green shaped path</p>
7 <div id="contentBox" style="width: 100px; height: 400px; border: 1px solid red;">
8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%">
9 <svg viewBox="0 0 150 150" >
10 <path fill="green" d="M143 103 143 117 a27,10 0 1 1 -136 0 L 7 117 7 103 a27,10 0 0 1 136 0 L52 72 a33,33 0 1 1 5 0" />
11 </svg>
12 </svg>
13 </div>
14 <script>
15 function repaintTest() {
16 document.getElementById("contentBox").style.setProperty("width", "400px");
18 </script>
19 </body>
20 </html>