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

Side by Side Diff: LayoutTests/fast/replaced/outline-replaced-elements.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 <style> 2 <style>
3 .group { 3 .group {
4 float: left; width: 180px; 4 float: left; width: 180px;
5 } 5 }
6 6
7 embed, iframe, object, img, input[type="image"], canvas, media, video { 7 embed, iframe, object, img, input[type="image"], canvas, media, video {
8 margin: 10px 0 20px 10px; 8 margin: 10px 0 20px 10px;
9 outline: 4px solid black; 9 outline: 4px solid black;
10 border: 10px solid transparent; 10 border: 10px solid transparent;
11 background-color: blue; 11 background-color: blue;
12 display: block; 12 display: block;
13 height: 100px; 13 height: 100px;
14 width: 100px; 14 width: 100px;
15 } 15 }
16 </style> 16 </style>
17 17
18 <script> 18 <script>
19 if (window.testRunner) { 19 if (window.testRunner) {
20 var dumpPixelResults = true; 20 testRunner.dumpAsTextWithPixelResults();
21 testRunner.dumpAsText(dumpPixelResults);
22 } 21 }
23 </script> 22 </script>
24 23
25 <body> 24 <body>
26 All the replaced elements below should have a solid black outline.<p> 25 All the replaced elements below should have a solid black outline.<p>
27 26
28 <div class="group"> 27 <div class="group">
29 &lt;video&gt; 28 &lt;video&gt;
30 <video src=""></video> 29 <video src=""></video>
31 &lt;canvas&gt; 30 &lt;canvas&gt;
(...skipping 12 matching lines...) Expand all
44 </div> 43 </div>
45 44
46 <div class="group"> 45 <div class="group">
47 &lt;input type=image&gt; 46 &lt;input type=image&gt;
48 <input type="image" src="resources/square-blue-100x100.png"> 47 <input type="image" src="resources/square-blue-100x100.png">
49 &lt;img&gt; 48 &lt;img&gt;
50 <img src="resources/square-blue-100x100.png"> 49 <img src="resources/square-blue-100x100.png">
51 </div> 50 </div>
52 51
53 </body> 52 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/replaced/border-radius-clip-content-edge.html ('k') | LayoutTests/fast/scrolling/overlay-scrollbars.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698