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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/fixed-descendant-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-descendant-of-transformed-scrolled.html --> 1 <!-- Based on fast/repaint/fixed-descendant-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 25 matching lines...) Expand all
43 } 40 }
44 </style> 41 </style>
45 Tests invalidation of a fixed-position descendant of a transformed scrolled elem ent. 42 Tests invalidation of a fixed-position descendant of a transformed scrolled elem ent.
46 Passes if there is a green box at the center of the scrollable area. 43 Passes if there is a green box at the center of the scrollable area.
47 <div id="transformed"> 44 <div id="transformed">
48 <div id="relative"> 45 <div id="relative">
49 <div id="fixed"></div> 46 <div id="fixed"></div>
50 <div id="content"></div> 47 <div id="content"></div>
51 </div> 48 </div>
52 </div> 49 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698