Bug 21299

Summary: REGRESSION: <input> color specified in inline style applies to placeholder (affects MobileMe)
Product: WebKit Reporter: mitz
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: adele
Priority: P1 Keywords: Regression
Version: 528+ (Nightly build)   
Hardware: Macintosh   
OS: OS X 10.5   
URL: http://me.com/
Attachments:
Description Flags
patch mitz: review+

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