Closed Bug 682 Opened 22 years ago Closed 21 years ago

form elements with nbsp don't give back correct measurements

Categories

(Core :: Layout, defect, P2, major)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: buster, Assigned: buster)

References

()

Details

the two cells below give the same max element size
<td nowrap><input 1>&nbsp;<input 2>
<td><input 1> <input 2>
(where the two input elements are real legal form elements, of course)
the first one should have a minimum width of the entire unbroken line.


=============================================================================
here is a minimized test case.  both cells claim to have the same minimum size:

<html><body>

<form method=post action="/esearch/isr/1,249,,00.html?st.cn.fd.nws.cn">
<table border="0" cellPadding="4" cellSpacing="0" width="20%" bgcolor="#FFCC00">
<tr>
	<td noWrap vAlign="top">
		<input name="keyword" size="15">&nbsp;<input name="search"
type="submit" value="Go!">&nbsp;
	</td>
</tr>
<tr>
	<td vAlign="top">
		<input name="keyword" size="15"> <input name="search"
type="submit" value="Go!">
	</td>
</tr>
</table>
</form>

</body></html>
Status: NEW → ASSIGNED
Component: Unknown → Layout
this was fixed when I fixed the other nowrap bug
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Verified fixed with the 11/30 build on NT/win98.
You need to log in before you can comment on or make changes to this bug.