Closed
Bug 449760
Opened 16 years ago
Closed 16 years ago
Use of tabs in <pre> in tables doesn't change the width of the surrounding <td>
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 411059
People
(Reporter: addiemacgruer, Unassigned)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
If you try and use <pre> formatted text laid out in a table, for eg. poetry or lyrics, you might want to start lines with a tab, but Ffox doesn't make the <td> cell wide enough in that case.
<table border="5"><tr><td><pre>
Roses are red
(tab)Violets are blue
This is my third line
(tab)Here is a long line starting with a tab which will overflow the table.
</pre></td></tr></table>
Reproducible: Always
Steps to Reproduce:
Incorporate the above bit of html into a web-page.
Actual Results:
Width of the <td> is only that of the text of the longest line, not the text and the whitespace.
Expected Results:
<td> should be as wide as the longest line, including its whitespace.
Reporter | ||
Comment 1•16 years ago
|
||
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•