Closed
Bug 954
Opened 26 years ago
Closed 26 years ago
Percentage widths on text fields is not inherited properly
Categories
(Core :: Layout, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: angus, Assigned: buster)
References
()
Details
See URL for simple test case:
<form>
<div style="width:50%; background-color:yellow">
<input type="text" style="width:75%">
</div>
</form>
The input width should be 75% of the parent element's width (DIV) which is 50%
of the width of the body.
This is a requirement I have to do some constraints stuff in an XPFE.
Reporter | ||
Updated•26 years ago
|
Assignee: karnaze → kipp
Component: Form Submission → Layout
Reporter | ||
Comment 1•26 years ago
|
||
I also notice that this test does not work:
<span style="width:50%; background-color:lightblue;
text-align:center;">Foo</span>
I expect the SPAN to be 50% the width of the parent element. It is not. Its
width is equal to the content width of the text "Foo." Perhaps this is related?
I'm thinking this might all be a layout thing... reassigning to kipp and adding
troy to cc: list.
Comment 2•26 years ago
|
||
The following has the same behavior as the test case.
<div style="width:50%; background-color:yellow">
<HR style="width:75%">
</div>
The following has the wrong size (but in a different way).
<DIV style="width:50%; background-color:yellow">
<TABLE style="width:75%"><TR><TD>foo</TD></TR></TABLE>
</DIV>
Updated•26 years ago
|
QA Contact: 3847
Summary: Percentage widths on text fields is not inherited properly → Percentage widths on text fields is not inherited properly
Comment 3•26 years ago
|
||
Jan -- can you please verify this bug -- thanks
You need to log in
before you can comment on or make changes to this bug.
Description
•