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

Side by Side Diff: LayoutTests/fast/repaint/fixed-table-overflow-zindex.html

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="resources/default.css"> 3 <link rel="stylesheet" href="resources/default.css">
4 <style> 4 <style>
5 table { top: 0px; left: 0px; border-spacing: 0px; position: absolute; } 5 table { top: 0px; left: 0px; border-spacing: 0px; position: absolute; }
6 td { background: green; padding: 0px; border-style: none; border: 0px; } 6 td { background: green; padding: 0px; border-style: none; border: 0px; }
7 td.fixed { position: fixed; left: 100px; top: 0px; z-index: 3; } 7 td.fixed { position: fixed; left: 100px; top: 0px; z-index: 3; }
8 </style> 8 </style>
9 <script src="../../resources/run-after-display.js"></script> 9 <script src="../../resources/run-after-display.js"></script>
10 <script src="resources/text-based-repaint.js"></script> 10 <script src="resources/text-based-repaint.js"></script>
11 <script> 11 <script>
12 if (window.testRunner) { 12 if (window.testRunner) {
13 testRunner.waitUntilDone(); 13 testRunner.waitUntilDone();
14 testRunner.dumpAsTextWithPixelResults(); 14 testRunner.dumpAsTextWithPixelResults();
15 } 15 }
16 16
17 window.onload = function() { 17 window.onload = function() {
18 window.scrollTo(0, 100); 18 window.scrollTo(0, 100);
19 runRepaintTest(); 19 runRepaintTest();
20 }; 20 };
21 21
22 function repaintTest() 22 function repaintTest()
23 { 23 {
24 document.getElementById('moveMe').className = "fixed"; 24 document.getElementById('moveMe').className = "fixed";
25 } 25 }
26 </script> 26 </script>
27 </head> 27 </head>
28 <body style="height:2000px;"> 28 <body style="height:2000px;">
29 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL ayer fixed position logic needs more basic testing --> 29 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing -->
30 <!-- You should see no red on this page. --> 30 <!-- You should see no red on this page. -->
31 <table> 31 <table>
32 <tr><td></td><td></td></tr> 32 <tr><td></td><td></td></tr>
33 <tr><td id="moveMe"></td><td class="red"><div class="green" style="posit ion: relative; left: -100px; top: 0px;"></div></td></tr> 33 <tr><td id="moveMe"></td><td class="red"><div class="green" style="posit ion: relative; left: -100px; top: 0px;"></div></td></tr>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/fixed-table-overflow.html ('k') | LayoutTests/fast/transforms/transform-on-inline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698