Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / overhanging-float-detach-repaint.html
blob57779c55bfa20796e0dfd9ccb48fc051a0afcfd6
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="resources/text-based-repaint.js"></script>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsTextWithPixelResults();
9 function repaintTest() {
10 var floatContainer = document.getElementById("floatContainer");
11 floatContainer.style.display = "none";
14 window.addEventListener("load", runRepaintTest);
15 </script>
16 <style>
17 .floatWithHeight {
18 float: left;
19 height: 400px;
22 .float {
23 float: left;
24 background-color: red;
25 height: 100px;
26 width: 100px;
28 </style>
29 </head>
30 <body>
31 <div>
32 <div style="opacity: 0;">
33 <a href="https://bugs.webkit.org/show_bug.cgi?id=105861">Bug 105861</a>: REGRESSION (r132591): Underpainting @ uofmchildrenshospital.org<br>
34 This test checks that overhanging floats are properly repainted when a renderer is detached.<br>
35 This test has PASSED if there is no RED below.
36 </div>
37 <div class="floatWithHeight"></div>
38 <div id="floatContainer">
39 <div class="float"></div>
40 </div>
41 </div>
42 </body>
43 </html>