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

VERIFIED WORKSFORME

Status

()

Core
CSS Parsing and Computation
P2
normal
VERIFIED WORKSFORME
19 years ago
19 years ago

People

(Reporter: Nisheeth Ranjan, Assigned: Eric Pollmann)

Tracking

Trunk
All
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
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
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → WORKSFORME
(Assignee)

Comment 2

19 years ago
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?

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 3

19 years ago
Verified fixed
You need to log in before you can comment on or make changes to this bug.