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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll.html

Issue 1630693003: Fix offset issue of background-attachment:fixed on scroller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 ::-webkit-scrollbar { 3 ::-webkit-scrollbar {
4 display: none; 4 display: none;
5 } 5 }
6 </style> 6 </style>
7 Tests painting of fixed background content in scrolled container. 7 Tests painting of scrolled container with fixed background.
8 Passes if the background doesn't scroll. 8 Passes if the background doesn't scroll.
9 <div id="container" style="width: 200px; height: 200px; overflow: scroll"> 9 <div id="container" style="width: 200px; height: 200px; overflow: scroll; backgr ound: linear-gradient(red, blue); background-attachment: fixed">
10 <div id="content" style="height: 2000px; background: linear-gradient(red, blue ); background-attachment: fixed"></div> 10 <div style="height: 2000px"></div>
11 </div> 11 </div>
12 <script> 12 <script>
13 onload = function() { 13 onload = function() {
14 container.scrollTop = 1000; 14 container.scrollTop = 1000;
15 }; 15 };
16 </script> 16 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698