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

Side by Side Diff: LayoutTests/fast/forms/textarea/textarea-placeholder-paint-order.html

Issue 249723003: Remove main frame overflow from some non-scrollbar tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Windows expectations Created 6 years, 8 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.dumpAsTextWithPixelResults(); 6 testRunner.dumpAsTextWithPixelResults();
7 </script> 7 </script>
8 <style> 8 <style>
9 body { overflow: hidden; }
10
9 textarea { 11 textarea {
10 color: lime; 12 color: lime;
11 text-indent: 1px; 13 text-indent: 1px;
12 zoom: 8; 14 zoom: 8;
13 } 15 }
14 16
15 textarea::-webkit-input-placeholder { 17 textarea::-webkit-input-placeholder {
16 text-indent: -1px; 18 text-indent: -1px;
17 font-weight: bold; 19 font-weight: bold;
18 color: red; 20 color: red;
19 } 21 }
20 </style> 22 </style>
21 <p>This test is meaningfull only if RenderTheme::shouldShowPlaceholderWhenFocuse d() returns true.</p> 23 <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> 24 <p>The green caret in the following text box should painted over the red placeho lder text.</p>
23 <textarea placeholder="Placeholder"></textarea> 25 <textarea placeholder="Placeholder"></textarea>
24 <script>document.querySelector('textarea').focus();</script> 26 <script>document.querySelector('textarea').focus();</script>
25 </body> 27 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/listbox-hit-test-zoomed.html ('k') | LayoutTests/fast/forms/time/time-appearance-basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698