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

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: Added missing DOCTYPEs Created 6 years, 8 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 <style>
3 body {
4 height: 2000px;
5 width: 2000px;
6 overflow: hidden;
7 }
8
9 .box {
10 height: 300px;
11 width: 300px;
12 margin: 20px;
13 margin-left: 10px;
14 background-image: url('../resources/alpha-blocks.png');
15 background-size: 500px 300px;
16 background-repeat: no-repeat;
17 background-attachment: fixed;
18 box-shadow: 10px 10px 0px gray; /* inflates composited bounds */
19 border: 4px solid gray;
20 float: left;
21 }
22 </style>
23 <script>
24 function doTest()
25 {
26 window.scrollTo(35, 45);
27 }
28 window.addEventListener('load', doTest, false);
29 </script>
30 <div class="box"></div>
31 <div class="box"></div>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/backgrounds/fixed-backgrounds.html ('k') | Source/core/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698