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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/scaled-overflow.html

Issue 2434443005: Only automatically promote scrollers which are untransformed and opaque. (Closed)
Patch Set: Force compositing to test scrolling contents background painting Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 body { 3 body {
4 background: black; 4 background: black;
5 transform: scale(0.75); 5 transform: scale(0.75);
6 transform-origin: top left; 6 transform-origin: top left;
7 } 7 }
8 8
9 .scroller { 9 .scroller {
10 position: relative; 10 position: relative;
11 overflow: scroll; 11 overflow: scroll;
12 width: 150px; 12 width: 150px;
13 height: 150px; 13 height: 150px;
14 background: white local; 14 background: white local;
15 will-change: transform;
15 } 16 }
16 17
17 .b { 18 .b {
18 left: 1px; 19 left: 1px;
19 top: 10px; 20 top: 10px;
20 } 21 }
21 22
22 .c { 23 .c {
23 left: 2px; 24 left: 2px;
24 top: 20px; 25 top: 20px;
25 } 26 }
26 27
27 .spacer { 28 .spacer {
28 height: 400px; 29 height: 400px;
29 } 30 }
30 </style> 31 </style>
31 <div class="scroller"><div class="spacer"></div></div> 32 <div class="scroller"><div class="spacer"></div></div>
32 <div class="scroller b"><div class="spacer"></div></div> 33 <div class="scroller b"><div class="spacer"></div></div>
33 <div class="scroller c"><div class="spacer"></div></div> 34 <div class="scroller c"><div class="spacer"></div></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698