Bug 63367

Summary: REGRESSION (r72052): Placeholder text alignment is no longer defaulted to the alignment of regular text
Product: WebKit Reporter: Yair Yogev <progame+wk>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: adele, beattie23, darin, dglazkov, eric, groby, jonlee, leviw, mitz, playmobil, rniwa, tkent, xji
Priority: P1 Keywords: Regression
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 49452, 64253    
Bug Blocks: 63927    
Attachments:
Description Flags
testcase with different alignments\directions none

Yair Yogev
Reported 2011-06-24 17:19:42 PDT
Created attachment 98565 [details] testcase with different alignments\directions Before r72052, if a textbox had "text-align: center" style, its placeholder also appeared in the middle (same goes for "text-align: right" accordingly) but since then, the placeholder is always aligned to the left for regular direction input elements (and to the right for dir="rtl" elements) This is now affecting Chromium's DOM-UI options for Hebrew\Arabic UI since many input elements there were edited recently to have right alignment to properly support URLs and patterns (intentionally not using dir=ltr which isn't correct for such content). Note: This issue is different than bug 54814 which is about the support for webkit-input-placeholder which got lost in r72052 also related but different: Bug 54797 REGRESSION (r72052): Placeholder text isn't centered with a large line-height Tested using windows build
Attachments
testcase with different alignments\directions (544 bytes, text/html)
2011-06-24 17:19 PDT, Yair Yogev
no flags
Yair Yogev
Comment 1 2011-06-24 17:28:26 PDT
small correction in the summary: intentionally not using dir=*rtl*
Yair Yogev
Comment 2 2011-06-26 08:56:42 PDT
InChromium issue: http://crbug.com/87546
Kent Tamura
Comment 3 2011-07-13 19:18:53 PDT
Kent Tamura
Comment 4 2011-09-04 18:18:44 PDT
*** Bug 67495 has been marked as a duplicate of this bug. ***
Brandon
Comment 5 2021-01-21 03:32:31 PST
Comment on attachment 98565 [details] testcase with different alignments\directions Placeholder text alignment is no longer defaulted to the alignment of regular text
Note You need to log in before you can comment on or make changes to this bug.