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

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

Issue 2068723002: Paint local attachment backgrounds into composited scrolling contents layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. 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 onload = function() {
3 document.getElementById('scroller').scrollTop = 200;
4 }
5 </script>
6 <style>
7 #scroller {
8 background: url('../resources/apple.jpg') local;
9 border: 10px solid rgba(0, 255, 0, 0.5);
10 overflow: scroll;
11 padding: 10px;
12 width: 200px;
13 height: 200px;
14 }
15
16 .spacer {
17 height: 300px;
18 }
19 </style>
20 <!-- This scroller has a locally attached background image which should
21 scroll with the content. -->
22 <div id="scroller">
23 <div class="spacer"></div>
24 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698