Bug 11923

Summary: REGRESSION: Placeholder text in password field shows as bullets
Product: WebKit Reporter: Matt Lilek <dev+webkit>
Component: FormsAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal Keywords: HasReduction, InRadar, Regression
Priority: P1    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: data:text/html,%3Cinput%20type=%22password%22%20placeholder=%22foobar%22%3E
Attachments:
Description Flags
disable text security temporary when showing placeholder hyatt: review+

Description Matt Lilek 2006-12-21 22:54:37 PST
Placeholder text on non-search field elements seems to have made a reappearance recently but when used on password fields, the placeholder is displayed as security bullets making it rather useless.
Comment 1 Mark Rowe (bdash) 2007-01-28 19:05:41 PST
<rdar://problem/4960257>
Comment 2 Adele Peterson 2007-02-13 14:30:14 PST
Right now, we have this rule in html4.css:

input[type="password"] {
    -webkit-text-security: disc !important;
}

We could remove this, and set the property in RenderTextControl.

We would need code in RenderTextControl::createInnerTextStyle and in RenderTextControl::updatePlaceholder.
Comment 3 Antti Koivisto 2007-02-13 16:33:50 PST
Created attachment 13158 [details]
disable text security temporary when showing placeholder
Comment 4 Dave Hyatt 2007-02-14 02:04:07 PST
Comment on attachment 13158 [details]
disable text security temporary when showing placeholder 

r=me

I wasn't aware we even supported placeholder text on non-search fields...
Comment 5 Antti Koivisto 2007-02-14 03:05:03 PST
r19620