Closed Bug 6155 Opened 25 years ago Closed 25 years ago

centered table underflows when viewport less than table width

Categories

(Core :: Layout, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: alan-lists, Assigned: buster)

References

()

Details

Attachments

(1 file)

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.
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.]
Assignee: rickg → karnaze
Assignee: karnaze → kipp
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.
Summary: Left Margine Cut off → centered table underflows when viewport less than table width
Target Milestone: M15
Status: NEW → ASSIGNED
Target Milestone: M15 → M8
Priority: P3 → P2
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
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.
Status: RESOLVED → VERIFIED
Fixed in the July 6th build.
Fixed in the July 6th build (1999070608).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: