Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / relative-sized-content-with-resources.xhtml
blobe373a3b42e1693911e86087c9f9f38ec5cec25fe
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 circle, which contains a radial gradient in its center</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 <defs>
10 <radialGradient id="grad" cx="50%" cy="50%" r="40%" gradientUnits="userSpaceOnUse">
11 <stop offset="0" stop-color="black" />
12 <stop offset="1" stop-color="white" />
13 </radialGradient>
14 </defs>
16 <circle cx="50%" cy="50%" r="40%" stroke="gray" fill="url(#grad)"/>
17 </svg>
18 </div>
19 <script>
20 function repaintTest() {
21 document.getElementById("contentBox").style.setProperty("width", "400px");
23 </script>
24 </body>
25 </html>