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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer.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 3
4 <head> 4 <head>
5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
6 <style> 6 <style>
7 7
8 .compositedBehind { 8 .compositedBehind {
9 width: 500px; 9 width: 500px;
10 height: 500px; 10 height: 500px;
(...skipping 30 matching lines...) Expand all
41 41
42 function repaintTest() { 42 function repaintTest() {
43 window.scrollTo(0, 100); 43 window.scrollTo(0, 100);
44 } 44 }
45 </script> 45 </script>
46 46
47 </head> 47 </head>
48 48
49 49
50 50
51 <body onload="runRepaintTest()"> 51 <body onload="runRepaintAndPixelTest()">
52 <!-- 52 <!--
53 Among other duplicate bugs: https://code.google.com/p/chromium/issues/det ail?id=128375 53 Among other duplicate bugs: https://code.google.com/p/chromium/issues/det ail?id=128375
54 A non-composited fixed-position element can get grouped into a composited container. 54 A non-composited fixed-position element can get grouped into a composited container.
55 In this case, repaint invalidations were incorrectly going to the LayoutV iew instead 55 In this case, repaint invalidations were incorrectly going to the LayoutV iew instead
56 of the composited container. The incorrect result was that the fixed-pos ition element 56 of the composited container. The incorrect result was that the fixed-pos ition element
57 never repainted, and it appeared to scroll along with the composited cont ainer. 57 never repainted, and it appeared to scroll along with the composited cont ainer.
58 --> 58 -->
59 <div class="compositedBehind"> </div> 59 <div class="compositedBehind"> </div>
60 60
61 <div class="containerOverlapsComposited"> 61 <div class="containerOverlapsComposited">
62 <div class="fixed"></div> 62 <div class="fixed"></div>
63 </div> 63 </div>
64 </body> 64 </body>
65 65
66 </html> 66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698