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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 #bloat { 3 #bloat {
4 height: 1000px; 4 height: 1000px;
5 } 5 }
6 6
7 #composited-background-attachment-fixed { 7 #composited-background-attachment-fixed {
8 position: absolute; 8 position: absolute;
9 left: 50px; 9 left: 50px;
10 top: 200px; 10 top: 200px;
11 width: 500px; 11 width: 500px;
12 height: 1000px; 12 height: 1000px;
13 background: url('resources/grid.png') fixed; 13 background: url('../resources/grid.png') fixed;
14 will-change: opacity; 14 will-change: opacity;
15 } 15 }
16 </style> 16 </style>
17 <div id="bloat"> 17 <div id="bloat">
18 The test verifies background-attachment:fixed gets invalidated after scroll even if they are composited. 18 The test verifies background-attachment:fixed gets invalidated after scroll even if they are composited.
19 </div> 19 </div>
20 <div id="composited-background-attachment-fixed"></div> 20 <div id="composited-background-attachment-fixed"></div>
21 <script src="../../resources/run-after-layout-and-paint.js"></script> 21 <script src="../../../resources/run-after-layout-and-paint.js"></script>
22 <script> 22 <script>
23 document.body.offsetTop; 23 document.body.offsetTop;
24 runAfterLayoutAndPaint(function() { 24 runAfterLayoutAndPaint(function() {
25 scrollTo(0, 123); 25 scrollTo(0, 123);
26 }, true); 26 }, true);
27 </script> 27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698