Closed
Bug 7379
Opened 25 years ago
Closed 25 years ago
<TD ALIGN=right> causing unneeded <BR>
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: clay, Assigned: tbghtown)
References
()
Details
(Whiteboard: [TESTCASE] width=100% applied on every first <td> even if colspan is present)
Attachments
(2 files)
Right aligned table data cells tend to over crowd text to the right-hand side, causing an unneeded carriage return in the text being aligned. As an example, in the http://my.yahoo.com weather table, any given cell, as in <TD ALIGN=right><FONT SIZE=-1">22...27 C</FONT></TD> renders as 22...27 C in Communicator 4.5, but as 22...27 C in Moz 5.0, even when the browser is full screen and has enough space _not_ to add the carriage return. -clay
Chris -- the small sample given renders correctly, but yahoo wraps as they indicate. I think it's in tables.
Comment 2•25 years ago
|
||
The problem in the My Yahoo Weather section seems to stem from a TD element in the first row whose width is set to 100%. The attached testcase (2 X 2 table) displays as: A B 1 2 3 in 4.61 (Linux), but renders as A 1 B 2 3 in M7. Note that alignment isn't specified anywhere -- the wrapping in the second column is simply because it's so narrow.
Comment 3•25 years ago
|
||
Updated•25 years ago
|
Whiteboard: [TESTCASE] <td width="100%"> too greedy?
Comment 4•25 years ago
|
||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 5•25 years ago
|
||
at my.yahoo.com there is no <TR><td width=100%></TD><td></TD><td></TD></TR> <TR><TD></TD><td></TD><td></TD></TR> instead there is a <TR><td width=100% colspan=3></TD></TR> <TR><TD></TD><td></TD><td></TD></TR> and in fact m7 produces an additional and unneeded <BR>, it should be rendered without breaks
Updated•25 years ago
|
Whiteboard: [TESTCASE] <td width="100%"> too greedy? → [TESTCASE] width=100% applied on every first <td> even if colspan is present
Comment 6•25 years ago
|
||
Note also that a percentage value for the width attribute of the TD element is not legal markup. It should be in pixels according the HTML 3.2 and 4.0 specs.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•25 years ago
|
||
Based on the comments below, marking as verified invalid.
You need to log in
before you can comment on or make changes to this bug.
Description
•