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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/dont-invalidate-root-layer-when-composited-layer-becomes-visible.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/dont-invalidate-root-layer-when-composited-layer-beco mes-visible.html --> 1 <!-- Based on fast/repaint/dont-invalidate-root-layer-when-composited-layer-beco mes-visible.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <html> 3 <html>
4 <head> 4 <head>
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script> 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 window.onload = function() { 7 window.onload = function() {
8 runPaintInvalidationTest(); 8 runPaintInvalidationTest();
9 }; 9 };
10 10
11 window.expectedPaintInvalidationObjects = [
12 "LayoutBlockFlow (positioned) DIV id='target'",
13 ];
14 function paintInvalidationTest() { 11 function paintInvalidationTest() {
15 document.getElementById('target').style.visibility = 'visible'; 12 document.getElementById('target').style.visibility = 'visible';
16 } 13 }
17 </script> 14 </script>
18 </head> 15 </head>
19 <body> 16 <body>
20 <div id="target" 17 <div id="target"
21 style="will-change: transform; 18 style="will-change: transform;
22 visibility:hidden; 19 visibility:hidden;
23 position: absolute; 20 position: absolute;
24 top: 200px; left: 200px; 21 top: 200px; left: 200px;
25 width: 200px; height: 200px; 22 width: 200px; height: 200px;
26 background-color: redl "></div> 23 background-color: redl "></div>
27 </body> 24 </body>
28 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698