| OLD | NEW |
| 1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
| 2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | 2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> |
| 3 <head> | 3 <head> |
| 4 <title>Bug 9752 - %-sizing of elements with a html parent is broken</title> | 4 <title>Bug 9752 - %-sizing of elements with a html parent is broken</title> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p>Below there is a div with an embedded green svg in it. Since the dimensions o
f the svg are 100%/100% of the parent, the green should cover the red(Bug 9752).
</p> | 7 <p>Below there is a div with an embedded green svg in it. Since the dimensions o
f 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;"> | 8 <div style="width: 200px; height: 200px;background:red;"> |
| 9 <svg xmlns="http://www.w3.org/2000/svg"> | 9 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> |
| 10 <rect fill="green" height="100%" width="100%"/> | 10 <rect fill="green" height="100%" width="100%"/> |
| 11 </svg> | 11 </svg> |
| 12 </div> | 12 </div> |
| 13 </body> | 13 </body> |
| 14 </html> | 14 </html> |
| OLD | NEW |