Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / percent-minheight-resize.html
blobda9c2117692ef7192cbc0c6ed3b2ff9b03e20bf5
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/run-after-layout-and-paint.js"></script>
6 <script>
7 if (window.testRunner) {
8 testRunner.waitUntilDone();
10 function repaintTest()
12 document.getElementById('resize-target').style.height = '200px';
13 if (window.testRunner)
14 testRunner.notifyDone();
16 </script>
17 </head>
19 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runAfterLayoutAndPaint(repaintTest);">
20 <div id="resize-target" style="width: 400px; height: 400px; position: absolute;">
21 <!-- After window resizing, this DIV element should not be visible -->
22 <div style="width: 100px; min-height: 50%; background-color: red; display: inline-block;"></div>
23 </div>
25 <div style="width: 100px; height: 100px; background-color: green; position: absolute;"></div>
26 </body>
27 </html>