Closed Bug 3400 Opened 26 years ago Closed 26 years ago

width attribute on bottons has no effect

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: morse, Assigned: eric)

Details

The following content displays two buttons. They are supposed to both be the same size. And in 4.5 they are the same size. In 5.0 they are not. <HTML> <BODY> <FORM> <INPUT type=BUTTON value=OK width=80> <INPUT type=BUTTON value=Cancel width=80> </FORM> </BODY> </HTML>
Summary: size attribute on bottons has no effect → width attribute on bottons has no effect
Component: Layout → Form Submission
Product: MozillaClassic → Browser
Version: 1998-03-31 → other
moving to Browser component - MozillaClassic is simply an archive of old codebase bugs.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA Contact: 4110 → 4137
Reassigning qa contact to cpratt@netscape.com
Assignee: pollmann → evaughan
<BUTTON> compatibility bug.
Target Milestone: M4
setting target to m4 to get off radar
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
the width attribute is not valid according to the HTML spec on input button types. The fact that Nav 4.5 supported it is probably an accident. IE does not support this so it is probably not a bug we wish to be backward compatible with. Besides this feature is supported via style sheets and it does work in Gecko. input[type="button"] { width: 80px; } will set the button to 80px wide.
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.