Closed Bug 3032 Opened 26 years ago Closed 25 years ago

[BLOCK] Setting a percentage width on an INPUT element does not work

Categories

(Core :: CSS Parsing and Computation, defect, P2)

All
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: nisheeth_mozilla, Assigned: pollmann)

Details

Reported by Mike Pinkerton:

Ok, I've been playing around a bit and found the following:

<html:input style="width: 400px"></html:input>

makes an input field that is 400 pixels wide. This works just fine.
However, if I say:

<html:input style="width: 100%"></html:input>

it doesn't work. It's of zero width. I checked that by wrapping it with
a span tag with a dashed border to see the real outline of the frame.
Setting M4 milestone and that it's a blocker. Also adding trudelle to the cc
list.
Summary: Setting a percentage width on an INPUT element does not work → [BLOCK] Setting a percentage width on an INPUT element does not work
Target Milestone: M4
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
This works for me.  I just tried this:

<?xml version="1.0"?>
<foobar xmlns:html="http://www.w3.org/TR/REC-html40"
        style="display:block;">

    <html:input style="width:50%;"/>
    <html:input style="width:100%;"/>

</foobar>

Perhaps this bug was fixed elsewhere?
Status: RESOLVED → VERIFIED
Verified fixed
You need to log in before you can comment on or make changes to this bug.