Closed Bug 217705 Opened 21 years ago Closed 21 years ago

long strings without spaces within tables expand set table width

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: db, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

a long string will expand the table width if it does not fit within the
specified table width.  see steps to reproduce the problem.

Reproducible: Always

Steps to Reproduce:
1. write a simple html file with a simple table with <table
width="350"><tr><td>...</td></tr></table>
2. within the table cel type a long string that contains no spaces that will
exceed the width of the table (350)
Actual Results:  
loaded the page and noticed the text does not wrap to suit the table but it
expands the table to suit the text

Expected Results:  
wrapped text at the table width
This is the correct behaviour. If the content of a table cell is bigger than the
specified size for the cell, it should expand the table.

-> INVALID.
INVALID as per comment #1
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Since the reporter expects that the text is wrapped inside the table, it's a
dupe of bug 95067. 
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---

*** This bug has been marked as a duplicate of 95067 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
why a duplicate? the reporter says nothing about hyphens?

he just expects the table to be the width specified instead of the width of
the nonwrapping text.
Kai, read bug 95067 and check its dupes
No, this is simply invalid.  We're never going to change the table algorithm,
where the WIDTH attribute means and has always meant 'min-width'.  We might
change the line-breaking algorithm to break around hyphens (in fact, we should).
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.