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

Side by Side Diff: LayoutTests/compositing/rtl/rtl-iframe-absolute.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, 3 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 <style> 3 <style>
4 body { 4 body {
5 overflow: hidden; 5 overflow: hidden;
6 } 6 }
7 7
8 iframe { 8 iframe {
9 position: absolute; 9 position: absolute;
10 top: 0px; 10 top: 0px;
11 left: 0px; 11 left: 0px;
12 width: 400px; 12 width: 400px;
13 height: 400px; 13 height: 400px;
14 border: none; 14 border: none;
15 } 15 }
16 16
17 #layertree { 17 #layertree {
18 position: absolute; 18 position: absolute;
19 top: 10000px; 19 top: 10000px;
20 left: 0px; 20 left: 0px;
21 } 21 }
22 </style> 22 </style>
23 <script> 23 <script>
24 function doTest() { 24 function doTest() {
25 if (window.testRunner) { 25 if (window.testRunner) {
26 document.getElementById('layertree').innerText = window.internals.la yerTreeAsText(document); 26 document.getElementById('layertree').innerText = window.internals.la yerTreeAsText(document);
27 testRunner.dumpAsText(true); 27 testRunner.dumpAsTextWithPixelResults();
28 } 28 }
29 } 29 }
30 window.addEventListener('load', doTest, false); 30 window.addEventListener('load', doTest, false);
31 </script> 31 </script>
32 <body> 32 <body>
33 <iframe src="rtl-absolute.html"></iframe> 33 <iframe src="rtl-absolute.html"></iframe>
34 34
35 <pre id="layertree"></pre> 35 <pre id="layertree"></pre>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698