Closed Bug 26878 Opened 25 years ago Closed 25 years ago

style="width:100%;" in the <input> tag doesn't work inside the table.

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: pavel, Assigned: karnaze)

Details

(Keywords: verifyme)

Attachments

(1 file)

style="width:100%;" in the <input> tag doesn't work inside the table. example: <table width="100%"> <tr><td> <input type="text" style="width: 100%;"> </td><tr> </table> Text field expected to be full width of the table cell. (works in IE)
Based on the bug descroption, passing it on to Pierre for initial analysis. Ccing Chris and Harish, because this could be a table or parser issue also.
Assignee: nisheeth → pierre
Component: Embedding APIs → Style System
Summary: style="width:100%;" in the <input> tag doesn't work inside the table. → style="width:100%;" in the <input> tag doesn't work inside the table.
This code is invalid for these 2 reasons: - The <FORM> tag is missing. - The Initial Containing Block size is not set (see bug 26376). Still, even when the code is fixed, we have a bug where the editable field doesn't have a width of 100% until we click on it. I don't think it's related to bug 1044 "inheritance problems in tables" because another element in the same table cell can inherit correctly the table width (see attached testcase). It looks like a HTML Form Element bug to me, or maybe Table. Either way it goes to karnaze.
Assignee: pierre → karnaze
The text field is occupying 100% of the table's width in the attachment. Marking worksforme.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
QA Contact: paulmac → petersen
QA Contact: petersen → chrisd
Adding 'verifyme' keyword
Keywords: verifyme
Verified Platform: PC OS: Windows 98 Mozilla Build: 2000101020 M18 Trunk Build
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: