| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <body> | 2 <body> |
| 3 <script> | 3 <script> |
| 4 // We don't care a render tree of this test. | 4 // We don't care a render tree of this test. |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.dumpAsText(true); | 6 testRunner.dumpAsTextWithPixelResults(); |
| 7 </script> | 7 </script> |
| 8 <style> | 8 <style> |
| 9 input { | 9 input { |
| 10 color: lime; | 10 color: lime; |
| 11 text-indent: 1px; | 11 text-indent: 1px; |
| 12 zoom: 8; | 12 zoom: 8; |
| 13 } | 13 } |
| 14 | 14 |
| 15 input::-webkit-input-placeholder { | 15 input::-webkit-input-placeholder { |
| 16 text-indent: -1px; | 16 text-indent: -1px; |
| 17 font-weight: bold; | 17 font-weight: bold; |
| 18 color: red; | 18 color: red; |
| 19 } | 19 } |
| 20 </style> | 20 </style> |
| 21 <p>This test is meaningfull only if RenderTheme::shouldShowPlaceholderWhenFocuse
d() returns true.</p> | 21 <p>This test is meaningfull only if RenderTheme::shouldShowPlaceholderWhenFocuse
d() returns true.</p> |
| 22 <p>The green caret in the following text box should painted over the red placeho
lder text.</p> | 22 <p>The green caret in the following text box should painted over the red placeho
lder text.</p> |
| 23 <input placeholder="Placeholder" autofocus> | 23 <input placeholder="Placeholder" autofocus> |
| 24 </body> | 24 </body> |
| OLD | NEW |