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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-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:39 Please parse this into JSON and check the contents
flackr 2016/08/09 18:35:27 Done, thanks for the example.
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 width: 200px;
15 height: 200px;
16 will-change: transform;
17 }
18 .spacer {
19 height: 300px;
20 }
21 </style>
22 <!-- The scroller's Scrolling Contents Layer should be opaque due to the opaque
23 color background. This means that we will be able to draw text with subpixel
24 anti-aliasing.
25 -->
26 <div id="scroller"><div class="spacer"></div></div>
27 <pre id="layertree"></pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698