Closed
Bug 6155
Opened 26 years ago
Closed 26 years ago
centered table underflows when viewport less than table width
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
M8
People
(Reporter: alan-lists, Assigned: buster)
References
()
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
The left margine of http://www.pilotgear.com is cut off. It seems to be cut by
the new side bar on the left of Mozilla. If I resize the size bar more or less
is hidden, but always a little.
There has been some troubles at Pilotgear before with it's layout.
Comment 1•26 years ago
|
||
Holy nested, row-spanned, col-spanned table! ;) Good test of stuff.
However, while this problem (clipping of left-hand margin) appears
for 1999-05-05-08 and 1999-05-07-08, it is _not_ present for
1999-04-28-08 (all win95). (I have seen some comments that suggest
that this is a known (recent) problem).
The basic problem is: if the table fixed-width exceeds the view-window
width, then centering of the table is done relative to the midline of
the view-window (which means that clipping occurs on both the LH and RH
sides of the view-window).
<!-- set viewer.exe to width ~600px to see this -->
<html><body>
<table align="center" border=1 width="760">
<tr><td>
This is a table with width=760 align=center
</td></tr>
</table>
</body></html>
[Note to asj@ipa.net: if there are other layout issues, you could file
these as individual bug reports. Cheers.]
Comment 2•26 years ago
|
||
Updated•26 years ago
|
Assignee: karnaze → kipp
Comment 3•26 years ago
|
||
When I dump frames, the line containing the table has a negative x origin
causing the table to get clipped. Using an image instead of a table doesn't
result in the image being clipped. Reassigning to Kipp.
Updated•26 years ago
|
Summary: Left Margine Cut off → centered table underflows when viewport less than table width
Target Milestone: M15
Fixed. Now if the element (table or whatever) is too wide then we will align it
to the left margin if direction is ltr. If direction is rtl then we will align
the elements right edge with the right margin.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•26 years ago
|
||
Fixed in the July 6th build.
Comment 6•26 years ago
|
||
Fixed in the July 6th build (1999070608).
You need to log in
before you can comment on or make changes to this bug.
Description
•