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

Side by Side Diff: LayoutTests/compositing/squashing/composited-bounds-for-negative-z.html

Issue 271863003: Layer squashing causes incorrect rendering while scrolling in Gmail (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Now with comment Created 6 years, 7 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
(Empty)
1 <!DOCTYPE html>
2 <div style="transform: translateZ(0);
3 height: 10px;
4 width: 10px;
5 position: absolute;
6 background-color: red;
7 z-index: -1"></div>
8 <div style="margin-left: 100px;
9 margin-top: 100px;
10 height: 300px;
11 width: 300px;
12 overflow-y: scroll;">
13 <div style="position: relative">
14 <div style="position: relative;
15 height: 1000px;
16 background-color: lightblue">
17 </div>
18 </div>
19 </div>
20 <script>
21 if (window.testRunner) {
22 testRunner.dumpAsText();
23 internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
24 internals.settings.setLayerSquashingEnabled(true);
25 testRunner.setCustomTextOutput(internals.layerTreeAsText(document));
26 }
27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698