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

Side by Side Diff: LayoutTests/fast/repaint/full-viewport-repaint-for-background-attachment-fixed.html

Issue 474683002: Use scrollContentsSlowPath when scrolling with background-attachment: fixed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/full-viewport-repaint-for-background-attachment-fixed-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 body {
4 background-image: linear-gradient(red, blue);
5 background-attachment: fixed;
6 margin: 0;
7 }
8 </style>
9 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
10 <script>
11 if (window.testRunner)
12 window.internals.settings.setAcceleratedCompositingForFixedRootBackgroundEna bled(false);
13
14 function repaintTest() {
15 window.scrollTo(0, 1000);
16 }
17
18 window.onload = function() {
19 runRepaintTest();
20 };
21 </script>
22 <div style="height: 5000px">
23 Tests that scrolling a frame with background-attachment: fixed invalidates the e ntire viewport.
24 </div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/full-viewport-repaint-for-background-attachment-fixed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698