Closed
Bug 617243
Opened 14 years ago
Closed 14 years ago
table with rowspan layout is bad
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: alysson.web, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11
text inside a table cell with "rowspan" does not wrap properly.
Reproducible: Always
Steps to Reproduce:
1. Create a table with 4 cells and 2 rows
2. add rowspan="2" for a cell
Actual Results:
render is not right
Reporter | ||
Comment 1•14 years ago
|
||
fixed using CSS white-space: normal; applying it for table, tr, td or problematic siblings.
Comment 2•14 years ago
|
||
The problem is caused by the nowrap attribute on this ancestor element:
<td align="left" valign="top" width="600" nowrap="nowrap">
It is mapped to white-space:nowrap which is inherited.
http://www.w3.org/TR/CSS2/text.html#white-space-prop
Gecko handles this differently in Quirk mode though, see
https://developer.mozilla.org/en/Mozilla_Quirks_Mode_Behavior
(Under "Tables" - the bullet referring to bug 277232)
If you remove the <!DOCTYPE ...> the document will be rendered in Quirks mode.
Or you could remove the nowrap attribute.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•