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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/fixed-child-of-transformed-scrolled.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 <!-- Based on fast/repaint/fixed-child-of-transformed-scrolled.html --> 1 <!-- Based on fast/repaint/fixed-child-of-transformed-scrolled.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
4 <script> 4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "LayoutBlockFlow (positioned) DIV id='fixed'",
7 ];
8 function paintInvalidationTest() { 5 function paintInvalidationTest() {
9 document.getElementById('fixed').style.backgroundColor = 'green'; 6 document.getElementById('fixed').style.backgroundColor = 'green';
10 } 7 }
11 onload = function() { 8 onload = function() {
12 document.getElementById('transformed').scrollTop = 50; 9 document.getElementById('transformed').scrollTop = 50;
13 runPaintInvalidationTest(); 10 runPaintInvalidationTest();
14 } 11 }
15 </script> 12 </script>
16 <style> 13 <style>
17 #transformed { 14 #transformed {
(...skipping 18 matching lines...) Expand all
36 width: 1000px; 33 width: 1000px;
37 height: 1000px; 34 height: 1000px;
38 } 35 }
39 </style> 36 </style>
40 Tests invalidation of a fixed-position child of a transformed scrolled element. 37 Tests invalidation of a fixed-position child of a transformed scrolled element.
41 Passes if there is a green box at the center of the scrollable area. 38 Passes if there is a green box at the center of the scrollable area.
42 <div id="transformed"> 39 <div id="transformed">
43 <div id="fixed"></div> 40 <div id="fixed"></div>
44 <div id="content"></div> 41 <div id="content"></div>
45 </div> 42 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698