Bug 21299 - REGRESSION: <input> color specified in inline style applies to placeholder (affects MobileMe)
Summary: REGRESSION: <input> color specified in inline style applies to placeholder (a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P1 Major
Assignee: Nobody
URL: http://me.com/
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2008-10-02 00:02 PDT by mitz
Modified: 2008-10-02 17:30 PDT (History)
1 user (show)

See Also:


Attachments
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 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]
patch
Comment 3 mitz 2008-10-02 17:17:08 PDT
Comment on attachment 24034 [details]
patch

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