Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / custom / percentage-of-html-parent.xhtml
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" width="100%" height="100%">
10             <rect fill="green" height="100%" width="100%"/>
11         </svg> 
12     </div>
13 </body>
14 </html>