Bug 54797

Summary: REGRESSION (r72052): Placeholder text isn't centered with a large line-height
Product: WebKit Reporter: Adele Peterson <adele>
Component: FormsAssignee: Adele Peterson <adele>
Status: RESOLVED FIXED    
Severity: Normal CC: adele, dglazkov, progame+wk, s+webkit, tkent
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: data:text/html,%3Cinput%20placeholder=%22This%20is%20some%20placeholder%20text%22%20style=%22line-height:%2040px;%22%3E
Bug Depends on: 64253    
Bug Blocks: 63927    

Description Adele Peterson 2011-02-18 23:32:05 PST
Placeholder text isn't centered with a large line-height.  It should be centered to match where the text will actually be entered.

<input placeholder="This is some placeholder text" style="line-height: 40px;">
Comment 1 Adele Peterson 2011-02-21 20:57:35 PST
Put the testcase in the url field
Comment 2 Sidney San Martín 2011-05-15 09:30:32 PDT
Also affects horizontal text-align.
Comment 3 Yair Yogev 2011-06-24 18:16:04 PDT
InChromium issue: http://crbug.com/72413
Comment 4 Kent Tamura 2011-07-13 19:18:14 PDT
Fixed by http://trac.webkit.org/changeset/90971