Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / percent-minheight-resize.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4   <title>Test for http://bugs.webkit.org/show_bug.cgi?id=79490</title>
5   <script src="resources/repaint.js"></script>
6   <script>
7     function repaintTest()
8     {
9       document.getElementById('resize-target').style.height = '200px';
10     }
11   </script>
12 </head>
13
14 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()">
15   <div id="resize-target" style="width: 400px; height: 400px; position: absolute;">
16     <!-- After window resizing, this DIV element should not be visible -->
17     <div style="width: 100px; min-height: 50%; background-color: red; display: inline-block;"></div>
18   </div>
19
20   <div style="width: 100px; height: 100px; background-color: green; position: absolute;"></div>
21 </body>
22 </html>