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

Side by Side Diff: LayoutTests/compositing/squashing/attempting-to-squash-into-compositing-container.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="background-color: lightblue; position: fixed; top: 75px; left: 10p x; height: 300px; width: 300px;"></div> 7 <div style="background-color: lightblue; position: fixed; top: 75px; left: 10p x; height: 300px; width: 300px;"></div>
8 <div style="background-color: salmon; height: 200px; position: absolute; width : 200px"></div> 8 <div style="background-color: salmon; height: 200px; position: absolute; width : 200px"></div>
9 </div> 9 </div>
10 <script> 10 <script>
11 if (window.testRunner) { 11 if (window.testRunner) {
12 internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 12 internals.settings.setPreferCompositingToLCDTextEnabled(true);
13 internals.settings.setLayerSquashingEnabled(true); 13 internals.settings.setLayerSquashingEnabled(true);
14 } 14 }
15 </script> 15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698