Git init
[framework/web/webkit-efl.git] / LayoutTests / fast / replaced / absolute-position-percentage-height.html
1 <html>
2 <head>
3     <style>
4         .testcase { position: relative; height: 200px; margin: 10px; }
5         .container { position: relative; width: 100px; background-color: gray; }
6         img { position: absolute; width: 50px; height: 100%; background-color: blue; }
7     </style>
8 </head>
9 <body>
10     <p>
11         Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=14449">http://bugs.webkit.org/show_bug.cgi?id=14449</a>
12         REGRESSION (r14345-r14375): Absolutely positioned image does not scale to containing element's height</i>.
13     </p>
14     <div class="testcase">
15         <div class="container">
16             <img>
17             <div style="height: 100px;"></div>
18         </div>
19     </div>
20     <div class="testcase">
21         <span class="container">
22             <img><br><br><br><br><br>
23         </span>
24     </div>
25 </body>
26 </html>