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

Side by Side Diff: LayoutTests/compositing/backgrounds/fixed-backgrounds-expected.html

Issue 102123013: Fix painting of fixed background images in composited layers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <style>
6 body {
7 height: 2000px;
8 width: 2000px;
9 overflow: hidden;
10 }
11
12 .box {
13 height: 300px;
14 width: 300px;
15 margin: 20px;
16 margin-left: 10px;
17 background-image: url('../resources/alpha-blocks.png');
18 background-size: 500px 300px;
19 background-repeat: no-repeat;
20 background-attachment: fixed;
21 box-shadow: 10px 10px 0px gray; /* inflates composited bounds */
22 border: 4px solid gray;
23 float: left;
24 }
25 </style>
26 <script>
27 function doTest()
28 {
29 window.scrollTo(35, 45);
30 }
31 window.addEventListener('load', doTest, false);
32 </script>
33 </head>
34 <body>
35
36 <div class="box"></div>
37 <div class="box"></div>
38
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698