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)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: pavel, Assigned: karnaze)
Details
(Keywords: verifyme)
Attachments
(1 file)
(deleted),
text/html
|
Details |
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)
Comment 1•25 years ago
|
||
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.
Comment 2•25 years ago
|
||
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
Comment 3•25 years ago
|
||
Assignee | ||
Comment 4•25 years ago
|
||
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
Updated•25 years ago
|
QA Contact: paulmac → petersen
Updated•25 years ago
|
QA Contact: petersen → chrisd
Comment 6•24 years ago
|
||
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.
Description
•