4 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=
79490</title>
5 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
7 window
.outputRepaintRects
= false;
10 document
.getElementById('resize-target').style
.height
= '200px';
15 <body style=
"margin: 0; padding: 0; overflow: hidden;" onload=
"runRepaintAndPixelTest()">
16 <div id=
"resize-target" style=
"width: 400px; height: 400px; position: absolute;">
17 <!-- After vertical window resizing, this SVG element should not be visible -->
18 <svg width=
"25%" height=
"50%" xmlns=
"http://www.w3.org/2000/svg">
19 <rect fill=
"red" width=
"100%" height=
"100%"></rect>
22 <!-- force an anonymous block creation to exercise the percent-height descendants map -->
26 <div style=
"width: 100px; height: 100px; position: absolute; background-color: green;"></div>