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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/fixed-table-cell.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-table-cell.html --> 1 <!-- Based on fast/repaint/fixed-table-cell.html -->
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"> 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
5 <style> 5 <style>
6 table { top: 0px; left: 0px; border-spacing: 50px; position: absolute; } 6 table { top: 0px; left: 0px; border-spacing: 50px; position: absolute; }
7 td { background: green; padding: 0px; border-style: none; border: 0px; } 7 td { background: green; padding: 0px; border-style: none; border: 0px; }
8 td.fixed { position: fixed; left: 50px; top: 100px; } 8 td.fixed { position: fixed; left: 50px; top: 100px; }
9 </style> 9 </style>
10 <script src="resources/paint-invalidation-test.js"></script> 10 <script src="resources/paint-invalidation-test.js"></script>
11 <script> 11 <script>
12 window.onload = function() { 12 window.onload = function() {
13 window.scrollTo(0, 100); 13 window.scrollTo(0, 100);
14 runPaintInvalidationTest(); 14 runPaintInvalidationTest();
15 }; 15 };
16 16
17 window.expectedPaintInvalidationObjects = [
18 "LayoutTableCell TD id='moveMe' class='fixed'",
19 "LayoutTable (positioned) TABLE",
20 "LayoutTableCell TD",
21 "LayoutTableCell TD",
22 "LayoutTableCell TD class='red'",
23 "LayoutTableCell (anonymous)",
24 "LayoutTableSection TBODY",
25 "LayoutTableCell (anonymous)",
26 "LayoutBlockFlow (positioned) TD id='moveMe' class='fixed'",
27 ];
28 function paintInvalidationTest() 17 function paintInvalidationTest()
29 { 18 {
30 document.getElementById('moveMe').className = "fixed"; 19 document.getElementById('moveMe').className = "fixed";
31 } 20 }
32 </script> 21 </script>
33 </head> 22 </head>
34 <body style="height:2000px;"> 23 <body style="height:2000px;">
35 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing --> 24 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing -->
36 <!-- You should see no red on this page. --> 25 <!-- You should see no red on this page. -->
37 <table> 26 <table>
38 <tr><td></td><td></td></tr> 27 <tr><td></td><td></td></tr>
39 <tr><td class="red"></td><td id="moveMe"></td></tr> 28 <tr><td class="red"></td><td id="moveMe"></td></tr>
40 </body> 29 </body>
41 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698