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

Side by Side Diff: LayoutTests/compositing/squashing/attempting-to-squash-into-stacking-ancestor.html

Issue 486493002: Merge AcceleratedCompositingForOverflowScroll into PreferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-overflowscroll: imagefailure 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <div style="overflow-y: auto; height: 500px; width: 500px; background-color: pin k; "> 2 <div style="overflow-y: auto; height: 500px; width: 500px; background-color: pin k; ">
3 <div style="position: absolute; top: 0; width: 20px; height: 20px; background- color: green;"></div> 3 <div style="position: absolute; top: 0; width: 20px; height: 20px; background- color: green;"></div>
4 <div style="height: 5000px; background-color: yellow;"></div> 4 <div style="height: 5000px; background-color: yellow;"></div>
5 </div> 5 </div>
6 <div style="background-color: lightgreen; position: fixed; top: 50px; left: 10px ; height: 400px; width: 400px;"> 6 <div style="background-color: lightgreen; position: fixed; top: 50px; left: 10px ; height: 400px; width: 400px;">
7 <div style="z-index: 0; position: relative"> 7 <div style="z-index: 0; position: relative">
8 <div style="background-color: lightblue; position: fixed; top: 75px; left: 1 0px; height: 300px; width: 300px;"></div> 8 <div style="background-color: lightblue; position: fixed; top: 75px; left: 1 0px; height: 300px; width: 300px;"></div>
9 <div style="background-color: salmon; height: 200px; position: absolute; wid th: 200px"></div> 9 <div style="background-color: salmon; height: 200px; position: absolute; wid th: 200px"></div>
10 </div> 10 </div>
11 </div> 11 </div>
12 <script> 12 <script>
13 if (window.testRunner) { 13 if (window.testRunner) {
14 internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 14 internals.settings.setPreferCompositingToLCDTextEnabled(true);
15 internals.settings.setLayerSquashingEnabled(true); 15 internals.settings.setLayerSquashingEnabled(true);
16 } 16 }
17 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698