Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / relative-sized-content.xhtml
blobd8cb30600384be275fdbc7f00c28202bc30886c1
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 (blue rectangle), especially after resizing the content box to a different size</p>
7 <div id="contentBox" style="width: 100px; height: 400px; border: 1px solid red;">
8 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
9 <rect id="targetRect" width="100%" height="100%" fill="blue"/>
10 </svg>
11 </div>
12 <script>
13 function repaintTest() {
14 document.getElementById("contentBox").style.setProperty("width", "400px");
16 </script>
17 </body>
18 </html>