| OLD | NEW |
| 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 <video> | 28 <video> |
| 30 <video src=""></video> | 29 <video src=""></video> |
| 31 <canvas> | 30 <canvas> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 44 </div> | 43 </div> |
| 45 | 44 |
| 46 <div class="group"> | 45 <div class="group"> |
| 47 <input type=image> | 46 <input type=image> |
| 48 <input type="image" src="resources/square-blue-100x100.png"> | 47 <input type="image" src="resources/square-blue-100x100.png"> |
| 49 <img> | 48 <img> |
| 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> |
| OLD | NEW |