Closed Bug 174302 Opened 22 years ago Closed 20 years ago

Table too wide (table width not enforced when all cell width are specified but cell content > specified width)

Categories

(Core :: Layout: Tables, defect, P4)

defect

Tracking

()

RESOLVED DUPLICATE of bug 95067
Future

People

(Reporter: relf, Unassigned)

References

()

Details

(Keywords: qawanted)

Attachments

(2 files)

34.98 KB, image/gif
Details
553 bytes, text/html; charset=utf-8
Details
Not sure who is guilty but on the provided URL text overlaps with banner at right.
Attached image screenshot
Looks like another floater issue with tables...
Whiteboard: DUPEME
I think this is bug 52916.
no, this has nothing to do w/ floater.
The table is 720px wide (col width: 120px,427px,171px, total 718px )
The skyscraper ad is absolutely positioned at (x:722,y:0)

It seems the left column is too wide
Summary: Text overlaps with banner → Table too wide
this line: <tr><td align=right width=105><a href="/press/" ...
           <b>&#1055;&#1088;&#1077;&#1089;&#1089;-&#1082;&#1086;&#1085;&#1092;&#1077;&#1088;&#1077;&#1085;&#1094;&#1080;&#1080;</b></a></td>

The left column has the correct width initially, but it then reflows to
accomondate the long text (and whole table widens as result). The code
specifies the overall table width and cell widths, and I guess cell
width takes precendence over table width

from what I see in other bugs, Mozilla always overflow content
outside of fix-sized cell container but does not resize the container.
Why does Mozilla resize the cell in this instance?
Summary: Table too wide → Table too wide (table width not enforced when all cell width are specified but cell content > specified width)
Whiteboard: DUPEME
->Tables
Assignee: attinasi → table
Component: Layout → Layout: Tables
QA Contact: petersen → madhur
I do not see this behaviour on the Linux platform.
But, I do see the right banner overlaping the text in it's left column on winXP
and MacosX with 03-31-2003  trunk builds.
confirming bug 
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P4
Target Milestone: --- → Future
wfm winxp 2004090507
Still see the bug with Mozilla Linux build 2004090707
Now the text and the banner still overlap, though the text under the banner is
not seen.
then we need a reduced testcase here
Keywords: qawanted
I dont't see any overlapping problems, but maybe the page has changed. Can
anyone upload a testcase?
Attached file testcase
It's a line breaking issue. The table is set to a width of 720px, the left
column is set to a width of 120px. The ad on the right side is a div with
position:absolute; left:722px. 

The left column contains the following:
ИЗВЕСТИЯ-&nbsp;&nbsp;&nbsp;КАЗАХСТАН (Hope you can read it,
try setting the encoding to UTF-8). This doesn't fit in 120px; IE6 breaks after
"ИЗВЕСТИЯ-" but Mozilla expands the left column and thus the whole
table gets too wide. Basically, the summary of the bug says it all, the
specified width is not enforced.

Replacing any of the non-breaking spaces with an ordinary space fixes the
layout.
The issue is caused by the fact that the line doesn't break on the hyphen. (It's
the same if you just have normal chars or non-breaking spaces.)

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

Attachment

General

Creator:
Created:
Updated:
Size: