Closed Bug 218928 Opened 21 years ago Closed 21 years ago

Text in a TD is displayed out of the TABLE for a particular screen width

Categories

(Core :: Layout: Block and Inline, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 187899

People

(Reporter: philippe, Unassigned)

References

()

Details

(Keywords: testcase, Whiteboard: [line-breaking])

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030910 Firebird/0.6.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030910 Firebird/0.6.1+

The right cell of the TABLE contains 2 words. A reduced screen width makes it
possible to have the 2nd word out of the cell (and out of the TABLE)

Reproducible: Always

Steps to Reproduce:
1. Display the page
2. Reduce the screen width until the 2nd cell is less large than the text in it


Actual Results:  
The text is displayed in and out of the cell.

Expected Results:  
Should display the last word on a new line.
Display the content of a TD inside of it.

The test case is valid HTML 4 strict.
The problem seems to be related to the presence of comments, TAB, CR in the text
in the cell - a slight change on these not displayable characters is enough to
have a normal display.
I see the same problem on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 even though its really old.
Confirming with Mozilla 1.5b on Linux (Gecko/20030827).
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
WFM Gecko/20030910 Firebird/0.6.1+, Windows XP. ?
See also bug 187899, which describes a very similar issue.
Keywords: testcase
->block&inline

I'm actually surprised we treat   correctly in this case (I think we don't
in most).  But we don't do the min-width calculation correctly.  Too many
codepaths...
Assignee: table → block-and-inline
Component: Layout: Tables → Layout: Block & Inline
QA Contact: madhur → ian
Whiteboard: [line-breaking]
Attached file testcase
This was the testcase in the URL field (slightly modified).

*** This bug has been marked as a duplicate of 187899 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: