Closed
Bug 89915
Opened 24 years ago
Closed 23 years ago
table width distorted; document.write inside a nowrap TD
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
VERIFIED
FIXED
mozilla0.9.4
People
(Reporter: jrgmorrison, Assigned: alexsavulov)
References
()
Details
(Keywords: top100, topembed, Whiteboard: vtrunk)
Attachments
(2 files)
Overview Description:
Table width is distorted due to a document.write of a form control
inside a 'nowrap' TD, within a fixed width table.
Steps to Reproduce:
1) Load http://www.mapblast.com/
Actual Results: left hand "panel" is stretched to viewport width, pushing
other contents off the right margin
Expected Results: not distorted
Reproducibility: 100% win32, probably xp but haven't checked.
Build Date & Platform Bug Found: 07/06 trunk build win2k
Additional Information:
Simplified example.
<html>
<body>
<form>
<table width="782" border>
<tr>
<td width="290" valign="top">
<table width="100%" border="1">
<tr>
<td nowrap>
<select>
<script language=JavaScript>
var airportList =
"<option value=''>-- US Airport Codes --" +
"<option value='CAK'>CAK: Akron-Canton, OH";
document.write(airportList);
</script>
</select>
</td>
</tr>
</table>
</td>
<td width="492">
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
width="456" height="259">
</td>
</tr>
</table>
</form>
</body>
</html>
Reporter | ||
Comment 1•24 years ago
|
||
Comment 3•23 years ago
|
||
I think the document.write is not the culprit but the 'nowrap' is. In that case
it seems to be a dup of bug #45621
Reporter | ||
Comment 5•23 years ago
|
||
Reporter | ||
Comment 6•23 years ago
|
||
The testcase that I previously attached no longer demonstrates the problem
in trunk builds. However, the original URL http://www.mapblast.com/ is
still grossly distorted.
Assignee | ||
Comment 7•23 years ago
|
||
added top100,topembed
Assignee | ||
Comment 9•23 years ago
|
||
fixed on trunk and branch
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 10•23 years ago
|
||
This is a nowrap problem.. But anyhow the problem seems to have been resolved..
The given URL and testcases are fine
Build ID # 2001082008
Status: RESOLVED → VERIFIED
Comment 11•23 years ago
|
||
win32 build 2001082008 win98SE
Are you sure this is fixed? When the mapblast.com home page first displays, it
does look fixed. But enter a street address and a zip code, then click the
Create Map button, and the table is all stretched out again.
Just doing a reload on the page, while the table looks "normal", I see the
stretched-out table briefly, then it snaps back to normal.
Or is this a different problem?
Assignee | ||
Comment 12•23 years ago
|
||
the testcases are fixed, but problems appear whan the page does not finish
loading entirely (some images are missing and similar stuff). another bug must
be opened about this issue. see also comments on bug 93408.
Assignee | ||
Comment 13•23 years ago
|
||
yeah for the next page (after Create Map) I will open another bug, maybe I'll
nominate it as topembed
Assignee | ||
Comment 14•23 years ago
|
||
bug 96334 created for page after "Create Map"
Comment 15•23 years ago
|
||
Yes there is a problem with the page when u click on the create map.. But that
appears to be a problem with the "nowrap"
I think the problem appears when the nowrap uses % width in a <td> like...
<td nowrap width="98%">
You need to log in
before you can comment on or make changes to this bug.
Description
•