Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / svg / custom / percentage-of-html-parent.xhtml
blob0309cc8c3e38b0377ae56a7fce591b08b6873828
1 <?xml version="1.0"?>
2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>Bug 9752 - %-sizing of elements with a html parent is broken</title>
5 </head>
6 <body>
7 <p>Below there is a div with an embedded green svg in it. Since the dimensions of the svg are 100%/100% of the parent, the green should cover the red(Bug 9752).</p>
8 <div style="width: 200px; height: 200px;background:red;">
9 <svg xmlns="http://www.w3.org/2000/svg">
10 <rect fill="green" height="100%" width="100%"/>
11 </svg>
12 </div>
13 </body>
14 </html>