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

Side by Side Diff: LayoutTests/fast/forms/input-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 src="resources/common.js"></script> 3 <script src="resources/common.js"></script>
4 <script> 4 <script>
5 waitUntilLoadedAndAutofocused(); 5 waitUntilLoadedAndAutofocused();
6 // We don't care a render tree of this test. 6 // We don't care a render tree of this test.
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsTextWithPixelResults(); 8 testRunner.dumpAsTextWithPixelResults();
9 </script> 9 </script>
10 <style> 10 <style>
11 body { overflow: hidden; }
12
11 input { 13 input {
12 color: lime; 14 color: lime;
13 text-indent: 1px; 15 text-indent: 1px;
14 zoom: 8; 16 zoom: 8;
15 } 17 }
16 18
17 input::-webkit-input-placeholder { 19 input::-webkit-input-placeholder {
18 text-indent: -1px; 20 text-indent: -1px;
19 font-weight: bold; 21 font-weight: bold;
20 color: red; 22 color: red;
21 } 23 }
22 </style> 24 </style>
23 <p>This test is meaningfull only if RenderTheme::shouldShowPlaceholderWhenFocuse d() returns true.</p> 25 <p>This test is meaningfull only if RenderTheme::shouldShowPlaceholderWhenFocuse d() returns true.</p>
24 <p>The green caret in the following text box should painted over the red placeho lder text.</p> 26 <p>The green caret in the following text box should painted over the red placeho lder text.</p>
25 <input placeholder="Placeholder" autofocus> 27 <input placeholder="Placeholder" autofocus>
26 </body> 28 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/form-hides-table.html ('k') | LayoutTests/fast/forms/listbox-bidi-align.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698