Bug 66319 - Placeholder text in text fields disappears when the field is focused on Windows, which doesn't match Lion or Windows native text fields
Summary: Placeholder text in text fields disappears when the field is focused on Windo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Adam Roben (:aroben)
URL: data:text/html,<input placeholder="Ca...
Keywords: LayoutTestFailure, PlatformOnly
Depends on:
Blocks:
 
Reported: 2011-08-16 11:04 PDT by Adam Roben (:aroben)
Modified: 2011-08-16 12:50 PDT (History)
6 users (show)

See Also:


Attachments
Make placeholder text remain visible until a character is typed on Windows (2.19 KB, patch)
2011-08-16 12:30 PDT, Adam Roben (:aroben)
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-08-16 11:04:12 PDT
To reproduce:

1. Go to data:text/html,%3Cinput%20placeholder=%22Can%20you%20see%20this%20text?%22%20autofocus%3E

The placeholder text is not shown. But it should be shown, to match Windows-native text fields (e.g., the Windows 7 login password field) and Lion text fields.
Comment 1 Adam Roben (:aroben) 2011-08-16 11:06:53 PDT
This is currently causing the following tests to fail:

fast/forms/input-placeholder-visibility-1.html
fast/forms/input-placeholder-visibility-3.html
fast/forms/textarea-placeholder-visibility-1.html
fast/forms/textarea-placeholder-visibility-2.html

http://build.webkit.org/results/Windows%207%20Release%20(Tests)/r93110%20(15520)/results.html
Comment 2 Adam Roben (:aroben) 2011-08-16 12:30:34 PDT
Created attachment 104077 [details]
Make placeholder text remain visible until a character is typed on Windows
Comment 3 Dave Hyatt 2011-08-16 12:45:13 PDT
Comment on attachment 104077 [details]
Make placeholder text remain visible until a character is typed on Windows

r=me
Comment 4 Adam Roben (:aroben) 2011-08-16 12:50:40 PDT
Committed r93146: <http://trac.webkit.org/changeset/93146>