| OLD | NEW |
| (Empty) |
| 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(); | |
| 9 } | |
| 10 function repaintTest() | |
| 11 { | |
| 12 document.getElementById('resize-target').style.height = '200px'; | |
| 13 if (window.testRunner) | |
| 14 testRunner.notifyDone(); | |
| 15 } | |
| 16 </script> | |
| 17 </head> | |
| 18 | |
| 19 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runAfterLayoutAnd
Paint(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: i
nline-block;"></div> | |
| 23 </div> | |
| 24 | |
| 25 <div style="width: 100px; height: 100px; background-color: green; position: ab
solute;"></div> | |
| 26 </body> | |
| 27 </html> | |
| OLD | NEW |