Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/overhanging-float-detach-repaint.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/text-based-repaint.js"></script> 4 <script src="resources/text-based-repaint.js"></script>
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpAsTextWithPixelResults(); 7 testRunner.dumpAsTextWithPixelResults();
8 8
9 function repaintTest() { 9 function repaintTest() {
10 var floatContainer = document.getElementById("floatContainer"); 10 var floatContainer = document.getElementById("floatContainer");
11 floatContainer.style.display = "none"; 11 floatContainer.style.display = "none";
12 } 12 }
13 13
14 window.addEventListener("load", runRepaintTest); 14 window.addEventListener("load", runRepaintAndPixelTest);
15 </script> 15 </script>
16 <style> 16 <style>
17 .floatWithHeight { 17 .floatWithHeight {
18 float: left; 18 float: left;
19 height: 400px; 19 height: 400px;
20 } 20 }
21 21
22 .float { 22 .float {
23 float: left; 23 float: left;
24 background-color: red; 24 background-color: red;
25 height: 100px; 25 height: 100px;
26 width: 100px; 26 width: 100px;
27 } 27 }
28 </style> 28 </style>
29 </head> 29 </head>
30 <body> 30 <body>
31 <div> 31 <div>
32 <div style="opacity: 0;"> 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> 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 r enderer is detached.<br> 34 This test checks that overhanging floats are properly repainted when a r enderer is detached.<br>
35 This test has PASSED if there is no RED below. 35 This test has PASSED if there is no RED below.
36 </div> 36 </div>
37 <div class="floatWithHeight"></div> 37 <div class="floatWithHeight"></div>
38 <div id="floatContainer"> 38 <div id="floatContainer">
39 <div class="float"></div> 39 <div class="float"></div>
40 </div> 40 </div>
41 </div> 41 </div>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698