[Webkit-unassigned] [Bug 26355] New: with insufficient room for padding, button label is not centered
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 12 14:29:39 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26355
Summary: with insufficient room for padding, button label is not
centered
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jshin at chromium.org
<input type=button style="width:25px; font-size: 18px" value="A"></input>
<input type=button style="width:25px; font-size: 18px; padding: 0px;"
value="A"></input>
On Mac OS X, two buttons above are rendered identically. In both cases, 'A' is
centered in the button.
On Windows (Safari 4 and Chrome), 'A' is not centered but shifted to the right
in the first button as if left-padding is applied first without considering
whether there's enough room for 'right-padding.
The UA stylesheet for input button has 'padding-left' and 'padding-right' set
to 6px.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list