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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/scroll-stacking-context-backface-visiblity-leaves-traces.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 <style> 2 <style>
3 #searchbar { 3 #searchbar {
4 bottom: 0; /* Useful for seeing the issue visually. */ 4 bottom: 0; /* Useful for seeing the issue visually. */
5 position: fixed; 5 position: fixed;
6 } 6 }
7 #recentlink { 7 #recentlink {
8 background: purple; 8 background: purple;
9 width: 150px; 9 width: 150px;
10 height: 150px; 10 height: 150px;
(...skipping 25 matching lines...) Expand all
36 36
37 function repaintTest() 37 function repaintTest()
38 { 38 {
39 window.scrollBy(0, 400); 39 window.scrollBy(0, 400);
40 finishRepaintTest(); 40 finishRepaintTest();
41 } 41 }
42 42
43 // We need to skip 2 frames for the bug to show under DRT. 43 // We need to skip 2 frames for the bug to show under DRT.
44 window.requestAnimationFrame(function() { 44 window.requestAnimationFrame(function() {
45 window.requestAnimationFrame(function() { 45 window.requestAnimationFrame(function() {
46 runRepaintTest(); 46 runRepaintAndPixelTest();
47 }); 47 });
48 }); 48 });
49 </script> 49 </script>
50 50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698