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

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

Issue 2327223002: Move all remaining fast/repaint tests to paint/invalidation (Closed)
Patch Set: Created 4 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
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

Powered by Google App Engine
This is Rietveld 408576698