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>
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();
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>
25 <div style=
"width: 100px; height: 100px; background-color: green; position: absolute;"></div>