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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled.html

Issue 1992303002: Test pixel results for repaint tests changing scroll (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 <link rel="stylesheet" href="resources/default.css"> 4 <link rel="stylesheet" href="resources/default.css">
5 <style> 5 <style>
6 #outer { 6 #outer {
7 position: relative; 7 position: relative;
8 overflow: hidden; 8 overflow: hidden;
9 height: 200px; 9 height: 200px;
10 } 10 }
(...skipping 22 matching lines...) Expand all
33 <script src="resources/text-based-repaint.js"></script> 33 <script src="resources/text-based-repaint.js"></script>
34 <script> 34 <script>
35 function repaintTest() 35 function repaintTest()
36 { 36 {
37 window.location.hash = "#ucp"; 37 window.location.hash = "#ucp";
38 } 38 }
39 39
40 function runTest() 40 function runTest()
41 { 41 {
42 document.getElementById("outer").scrollTop = 1000; 42 document.getElementById("outer").scrollTop = 1000;
43 runRepaintTest(); 43 runRepaintAndPixelTest();
44 } 44 }
45 </script> 45 </script>
46 </head> 46 </head>
47 <body onload="runTest()"> 47 <body onload="runTest()">
48 <!-- Bug 71550 - REGRESSION (r93614): Content remains despite parent element being scrolled off page using javascript. --> 48 <!-- Bug 71550 - REGRESSION (r93614): Content remains despite parent element being scrolled off page using javascript. -->
49 <!-- For the test to pass you should not see any RED, only green --> 49 <!-- For the test to pass you should not see any RED, only green -->
50 <div id="outer"> 50 <div id="outer">
51 <section> 51 <section>
52 <div class="innerWrapper"> 52 <div class="innerWrapper">
53 <div class="red"></div> 53 <div class="red"></div>
54 <div id="ucp" class="green"></div> 54 <div id="ucp" class="green"></div>
55 </div> 55 </div>
56 </section> 56 </section>
57 </div> 57 </div>
58 </body> 58 </body>
59 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698