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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/repaint/background-attachment-fixed-scrolled.html

Issue 1394193003: Invalidate background-attachment:fixed on scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename all SlowRepaint to BackgroundAttachmentFixed. rebaseline test. Created 5 years, 2 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/compositing/repaint/background-attachment-fixed-scrolled-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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #bloat {
4 height: 1000px;
5 }
6
7 #composited-background-attachment-fixed {
8 position: absolute;
9 left: 50px;
10 top: 200px;
11 width: 500px;
12 height: 1000px;
13 background: url('resources/grid.png') fixed;
14 will-change: opacity;
15 }
16 </style>
17 <div id="bloat">
18 The test verifies background-attachment:fixed gets invalidated after scroll even if they are composited.
19 </div>
20 <div id="composited-background-attachment-fixed"></div>
21 <script src="../../resources/run-after-layout-and-paint.js"></script>
22 <script>
23 document.body.offsetTop;
24 runAfterLayoutAndPaint(function() {
25 scrollTo(0, 123);
26 }, true);
27 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/repaint/background-attachment-fixed-scrolled-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698