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

Side by Side Diff: LayoutTests/fast/repaint/fixed-scale.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 .translated { 5 .translated {
6 transform: scale(2, 2); 6 transform: scale(2, 2);
7 } 7 }
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.dumpAsTextWithPixelResults(); 13 testRunner.dumpAsTextWithPixelResults();
14 14
15 window.onload = function() { 15 window.onload = function() {
16 window.scrollTo(0, 200); 16 window.scrollTo(0, 200);
17 runRepaintTest(); 17 runRepaintTest();
18 }; 18 };
19 19
20 function repaintTest() 20 function repaintTest()
21 { 21 {
22 document.getElementById('t').setAttribute("class", "green translated "); 22 document.getElementById('t').setAttribute("class", "green translated ");
23 } 23 }
24 </script> 24 </script>
25 </head> 25 </head>
26 <body style="height:2000px;"> 26 <body style="height:2000px;">
27 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL ayer fixed position logic needs more basic testing --> 27 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing -->
28 <!-- You should see no red on this page. --> 28 <!-- You should see no red on this page. -->
29 <div style="position: absolute; top: 300px; left: 100px;" class="red"></div> 29 <div style="position: absolute; top: 300px; left: 100px;" class="red"></div>
30 <div id="t" style="position: fixed; top: 125px; left: 125px; width: 50px; he ight: 50px;" class="green"></div> 30 <div id="t" style="position: fixed; top: 125px; left: 125px; width: 50px; he ight: 50px;" class="green"></div>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/fixed-after-scroll.html ('k') | LayoutTests/fast/repaint/fixed-scroll-simple.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698