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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-transparent-background.html

Issue 2196583002: Paint local background colors onto foreground layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments and fix test failures by removing SkipRootBackground when painting a new ro… Created 4 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
OLDNEW
(Empty)
1 <script>
2 if (window.testRunner)
3 window.testRunner.dumpAsText();
4 onload = function() {
5 if (window.testRunner && window.internals)
6 document.getElementById('layertree').innerText = window.internals.layerT reeAsText(document);
chrishtr 2016/08/08 21:16:40 ditto
flackr 2016/08/09 18:35:27 Done.
7 }
8 </script>
9 <style>
10 #scroller {
11 background: white local content-box;
12 border: 10px solid rgba(0, 255, 0, 0.5);
13 overflow: scroll;
14 padding: 10px;
15 width: 180px;
16 height: 180px;
17 will-change: transform;
18 }
19 .spacer {
20 height: 280px;
21 }
22 </style>
23 <!-- The scroller's Scrolling Contents Layer should be opaque due to the opaque
24 color background. This means that we will be able to draw text with subpixel
25 anti-aliasing.
26 -->
27 <div id="scroller"><div class="spacer"></div></div>
28 <pre id="layertree"></pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698