Closed Bug 8391 Opened 26 years ago Closed 26 years ago

Another problem with table cell widths

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: cpratt, Assigned: karnaze)

References

()

Details

Attachments

(1 file)

Build ID: 1999061708 Platform: Windows NT Content that is drawn in windows is getting the scrollbars drawn on top of it - that shouldn't be happening. At the above URL, there is a button that says "Go" to the right of the ZIP Code field; underneath it, there is a link that reads "Clear". The button is clipped, and the "r" in "Clear" is (presumably) underneath the scrollbar.
Assignee: beard → rickg
Component: Compositor → Layout
This is a layout problem, it's not detecting that there is extra content, and not providing a horizontal scrollbar. There are document types where this is the right thing to do, but not having a scrollbar is wrong. Somehow, layout isn't measuring the correct width of this document.
Assignee: rickg → kipp
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Actually, the scroll bars are working fine, since there _is_ no more content. The "Clear" text is being cropped by the table code, CORRECTLY, because the cell is specifically given a width of 27 pixels, which is too short for the whole of the word "Clear". Mozilla is acting 100% correctly on this page, as far as I can tell. Marking bug INVALID.
Status: RESOLVED → REOPENED
Component: Layout → HTMLTables
Summary: Scrollbars are obfuscating content in browser windows → Another problem with table cell widths
Resolution: INVALID → ---
Assignee: kipp → karnaze
Status: REOPENED → NEW
It would seem that the problem is actually to do with table cell widths. I've put the basic table HTML in the URL above. Here's the problem: The page contains a single main table that is set to have a width of 618 pixels. In this table, there are two main cells: one is 170 pixels wide and the other is 448 pixels wide. The first cell contains the ad images; the second cell contains the form that contains the Go button and the Clear link which I mentioned in this bug report. The Go button is specified to be in a cell with a width of 25 pixels - but (as you can see in the test case I've submitted) it does display correctly if the surrounding table (the one with the WIDTH="618" is removed. I take this to mean that 25 pixels are in fact enough for it to display correctly. Additionally, Communicator 4.61 says that the image is exactly 25 pixels wide. The Clear link would appear to be set to use 3 of 8 columns in a table row to display (or 168 pixels' worth of width as the table is set to be 448 pixels wide - I think). It as well displays correctly when the metatable is removed; therefore, I believe that its clipping in the page is also a problem.
> The Go button is specified to be in a cell with a width of 25 pixels - but > (as you can see in the test case I've submitted) it does display correctly if > the surrounding table (the one with the WIDTH="618" is removed. Really? When I looked at the page, I removed everything except the row containing the GO image, the row containing the "clear" text, and the table immediately containing those rows. The clipping still occured. > The Clear link would appear to be set to use 3 of 8 columns in a table row to > display (or 168 pixels' worth of width as the table is set to be 448 pixels > wide - I think). No -- it uses three columns, but those columns have a width of 27 pixels because the three equivalent columns in the row above have widths of 1px, 25px and 1px respectively.
Right you are about the 27 pixel cell width for the "Clear" link. However, I do indeed see what I described as concerns the "Go" image. I've uploaded my test case; you can obtain the missing images from http://www.expediamaps.com/AddressFinder.asp to complete the test case. Both Mac OS and Win32 clip the Go button when it's enclosed in the main table, but display it correctly when it isn't. Linux displays everything correctly at all times.
Status: NEW → ASSIGNED
Target Milestone: M10
Assignee: karnaze → gagan
Status: ASSIGNED → NEW
I am not able to load all of the images on the url or the attachment. Gagan, when you fix this please reassign to me.
Assignee: gagan → don
Hmmm... doesn't look like necko related. don pls. reassign. Thx.
Assignee: don → karnaze
Target Milestone: M10
Uhhh ... somebody wanna explain why this was assinged to me?
Status: NEW → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → WORKSFORME
The problem on the url appears to be fixed now. The attachment doesn't load the images probably because it needs a <base href=..> tag.
Status: RESOLVED → VERIFIED
Fixed in the Sept 27th build.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: