Closed Bug 330824 Opened 20 years ago Closed 20 years ago

<col style="white-space:nowrap"> is ignored

Categories

(Core :: Layout: Tables, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 915

People

(Reporter: fabrizio.balliano, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 you have a table with some <col> tag, if you want to add nowrap the a col, this is ignored <table width=10> <col style="white-space:nowrap"> <tr> <td>test test test test test test test test </td> </tr> </table> Reproducible: Always Steps to Reproduce:
Can you attach a testcase using the "Create a New Attachment" link. > <table width=10> > <col style="white-space:nowrap"> > <tr> > <td>test test test test test test test test </td> Your table is over-constrained. You're demanding a 10 pixels wide table and, at the same time, to render a much wider column based on non-wrapped content.
you're right I did a wrong example but the bug remains: <table width="200" border="1"> <col style="background:red;white-space:nowrap;" /> <tr> <td>ah ah ah ah ah ah ah</td> <td>hu hu hu hu hu hu hu</td> </tr> </table> background of the first column is red, but white space is not implemented
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → 1.8 Branch
see http://www.w3.org/TR/CSS21/tables.html#q4 this is bug 915 *** This bug has been marked as a duplicate of 915 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.