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

Side by Side Diff: LayoutTests/compositing/rtl/rtl-overflow-invalidation.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 body { 5 body {
6 direction: rtl; 6 direction: rtl;
7 margin: 0px; 7 margin: 0px;
8 } 8 }
9 9
10 #layer { 10 #layer {
11 position: absolute; 11 position: absolute;
12 top: 50px; 12 top: 50px;
13 right: 50px; 13 right: 50px;
14 width: 100px; 14 width: 100px;
15 height: 100px; 15 height: 100px;
16 background-color: red; 16 background-color: red;
17 } 17 }
18 18
19 #root { 19 #root {
20 width: 1000px; 20 width: 1000px;
21 height: 1000px; 21 height: 1000px;
22 -webkit-transform:translateZ(0); 22 -webkit-transform:translateZ(0);
23 } 23 }
24 </style> 24 </style>
25 <script> 25 <script>
26 function doTest() { 26 function doTest() {
27 if (window.testRunner) { 27 if (window.testRunner) {
28 testRunner.display(); 28 testRunner.display();
29 testRunner.dumpAsText(true); 29 testRunner.dumpAsTextWithPixelResults();
30 } 30 }
31 // This test passes if this element is repainted correctly, even 31 // This test passes if this element is repainted correctly, even
32 // on a page that is composited and has horizontal overflow. 32 // on a page that is composited and has horizontal overflow.
33 var elem = document.getElementById("layer"); 33 var elem = document.getElementById("layer");
34 elem.style.backgroundColor = "green"; 34 elem.style.backgroundColor = "green";
35 } 35 }
36 window.addEventListener('load', doTest, false); 36 window.addEventListener('load', doTest, false);
37 </script> 37 </script>
38 <body> 38 <body>
39 <div id="layer" class=""></div> 39 <div id="layer" class=""></div>
40 <div id="root"></div> 40 <div id="root"></div>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/rtl/rtl-iframe-relative.html ('k') | LayoutTests/compositing/rtl/rtl-relative.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698