Bug 12071 - button with align attribute should not affect contained text
Summary: button with align attribute should not affect contained text
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 07:52 PST by Sam Weinig
Modified: 2007-01-02 10:40 PST (History)
0 users

See Also:


Attachments
testcase (1.05 KB, text/html)
2007-01-02 07:53 PST, Sam Weinig
no flags Details
patch (46.73 KB, patch)
2007-01-02 10:15 PST, Sam Weinig
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2007-01-02 07:52:49 PST
Currently, a button element with align='left' or align='right' causes the text contained in the button to be aligned left or right respectively.  Firefox always renders the content center-justified.  Opera has the same behavior as us.  I have not tested in IE6 or IE7.
Comment 1 Sam Weinig 2007-01-02 07:53:44 PST
Created attachment 12162 [details]
testcase
Comment 2 Bradley Morrison 2007-01-02 08:05:08 PST
(In reply to comment #0)
> I have not tested in IE6 or IE7.

Like FF, IE6 has centred text on all buttons.
Comment 3 Sam Weinig 2007-01-02 10:15:11 PST
Created attachment 12165 [details]
patch
Comment 4 mitz 2007-01-02 10:18:44 PST
Comment on attachment 12165 [details]
patch

r=me
Comment 5 Sam Weinig 2007-01-02 10:40:43 PST
Landed in r18528.