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

Side by Side Diff: LayoutTests/compositing/repaint/scroll-fixed-squahed-layer.html

Issue 478823002: Don't repaint squashed, fixed position layers during scrolling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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/compositing/repaint/scroll-fixed-squahed-layer-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 <html>
3 <head>
4 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
5 <style>
6 .main {
7 position: fixed;
8 top: 100px;
9 left: 100px;
10 width: 200px;
11 height: 200px;
12 background-color: lightblue;
13 will-change: transform;
14 }
15
16 .squahed {
17 position: fixed;
18 top: 150px;
19 left: 100px;
20 width: 200px;
21 height: 200px;
22 background-color: lightgreen;
23 }
24 </style>
25 <script>
26 if (window.internals)
27 internals.settings.setPreferCompositingToLCDTextEnabled(false);
28
29 function repaintTest() {
30 window.scrollTo(0, 100);
31 }
32 </script>
33 </head>
34 <body style="height:2000px" onload="runRepaintTest()">
35 <div class="main"></div>
36 <div class="squahed"></div>
37 </body>
38 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/repaint/scroll-fixed-squahed-layer-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698