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

Side by Side Diff: LayoutTests/paint/overflow/fixed-background-scroll-in-frame.html

Issue 1332643002: Fix fixed-background offset issue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 Tests painting of fixed background content in scrolled container.
3 Passes if the background doesn't scroll.
4 <div style="position: absolute; top: 100px; left: 100px; width: 400px; height: 4 00px; backface-visibility: hidden">
5 <iframe style="width: 300px; height: 300px" srcdoc="
6 <style>
7 ::-webkit-scrollbar {
8 display: none;
9 }
10 </style>
11 <div id='container' style='width: 200px; height: 200px; overflow: scroll'>
12 <div id='content' style='height: 2000px; background: linear-gradient(red, blue); background-attachment: fixed'></div>
13 </div>
14 <script>
15 onload = function() {
16 container.scrollTop = 1000;
17 };
18 </script>"></iframe>
19 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698