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

Side by Side Diff: LayoutTests/fast/forms/textarea/textarea-placeholder-paint-order.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 <!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 textarea { 9 textarea {
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 textarea::-webkit-input-placeholder { 15 textarea::-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 <textarea placeholder="Placeholder" autofocus></textarea> 23 <textarea placeholder="Placeholder" autofocus></textarea>
24 </body> 24 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698