Bug 21299 - REGRESSION: <input> color specified in inline style applies to placeholder (affects MobileMe)
: REGRESSION: <input> color specified in inline style applies to placeholder (a...
Product: WebKit
Classification: Unclassified
Component: Forms
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P1 Major
Assigned To: Nobody
: Regression
Depends on:
  Show dependency treegraph
Reported: 2008-10-02 00:02 PDT by mitz@webkit.org
Modified: 2008-10-02 17:30 PDT (History)
1 user (show)

See Also:

patch (20.97 KB, patch)
2008-10-02 17:02 PDT, Adele Peterson
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz@webkit.org 2008-10-02 00:02:58 PDT
An <input>'s inline style declaration overrides the -webkit-input-placeholder-mode pseudo-class declaration, causing the placeholder text to have the color specified in inline style.

For example, <input style="color: black;" placeholder="holding"> will show "holding" in black instead of dark gray.
Comment 1 Adele Peterson 2008-10-02 11:21:22 PDT
I'll switch to using a pseudo element. bah.
Comment 2 Adele Peterson 2008-10-02 17:02:37 PDT
Created attachment 24034 [details]
Comment 3 mitz@webkit.org 2008-10-02 17:17:08 PDT
Comment on attachment 24034 [details]

Comment 4 Adele Peterson 2008-10-02 17:30:27 PDT
Committed revision 37217