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

Side by Side Diff: LayoutTests/compositing/backgrounds/fixed-backgrounds.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
19 background-size: 500px 300px;
20 background-repeat: no-repeat;
21 background-attachment: fixed;
22 box-shadow: 10px 10px 0px gray; /* inflates composited bounds */
23 border: 4px solid gray;
24 float: left;
25 }
26
27 .composited {
28 -webkit-transform: translateZ(0);
29 }
30 </style>
31 <script>
32 function doTest()
33 {
34 window.scrollTo(35, 45);
35 }
36 window.addEventListener('load', doTest, false);
37 </script>
38 </head>
39 <body>
40
41 <div class="composited box"></div>
42 <div class="composited box"></div>
43
44 </body>
45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698