Closed Bug 8230 Opened 27 years ago Closed 27 years ago

Sizing of SELECT elements within tables

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: zuperdee, Assigned: troy)

References

()

Details

Attachments

(1 file)

Here on Red Hat 6.0, glibc 2.1, gtk+ 1.2.3, CVS Mozilla build from June 8, 1999, it seems the images on this page do not lay out correctly. This is apparently also a problem for Communicator 4.61, as well as Netscape Navigator 3.04, so I'm not sure what to suggest for this. Internet Explorer 4.0 and 5.0 however, do not have this problem, so I suppose this site could be optimized for IE, though I do not see any IE-specific HTML tags in it, or any evidence of a browser sniffer. Nonetheless, I thought I would post this, since Netscape might get hurt by sites like this if people tried to view them with the branded Netscape product.
Uhh, zuperdee, can you describe this further; on Windows, this page is identical using Nav4.6 or ie5 (with the one difference being <body topmargin=0> which is ie-only). It also looks the same (on win95) when comparing Nav4.6 to Mozilla jun13 (modulo bug #5821 -- the CSS2 linebox model bug which introduces white vertical gaps between adjacent images).
Assignee: rickg → ramiro
Ramiro -- can you please take a look. I have two questions: 1. Are you seeing this problem 2. Who should own it? Rendering, layout, imagelib? (I'd guess layout).
Odd. Maybe the problem does not exist on the Windows platform generally? I will check on this myself later if I can get access to a Windows machine somewhere... But this is a definite problem for me here on Linux; I am attaching a screenshot of the page as it looks in 4.61 here on my system to demonstrate. Perhaps this is a platform parity bug? It might be good to verify this.
Target Milestone: M15
Assignee: ramiro → troy
It looks like an XP layout bug. However, i even see 2 images being offset to the right on IE 4 on win98. And it looks like that on communicator 4.6 as well. The only real problem is that some of the images on the left arent joined where expected. So i think this is an XP layout bug for later. But, i wouldnt be surprised if this was a dup of at least another layout bug. I've seen the same kind of image problem on other bugs - which are already on layout't radar. Reassign to troy and mark m15.
Well, I just tried bringing the page up with IE4 on Win95 OSR2... It comes up with no problems there. I don't see a single image offset to the right. This is really starting to baffle me.
There are two problems here: * one is a dup of the famous bug 5821 * The other is a result of the content of the second cell in the first row being sized larger than the author expected (colspan=3). This is dependent on your font size, etc. This is triggering separation between the only cells that do not span those three columns: the 4th, 5th, and 6th cells in row 3 (with rowspan=2). (There is a further error: that 6th cell has colspan=2 instead of colspan=1, but nothing seems to have a problem with that.) So I think this is author error (the assumtion that the fonts are always the same size), and should be marked RESOLVED-INVALID. However, I would like to investigate the sizing of that r1/c7-9 cell a bit more. Note that you can eliminate the effects of bug 5821 by setting img{vertical-align: top; } in a style rule.
The problem has to do with the sizing of the SELECT element. If I remove Tampa-St. Petersburg from the list, all is well. However, it has a horizontal scrollbar anyway. You may want to look into the sizing of SELECT elements. Perhaps the arrow isn't being considered when choosing the size for the SELECT, but is then being used to expand the table cell? I take back my recommendation that this bug be RESOLVED-INVALID. (Other problems are a dup of bug 5821.)
Summary: Image layout has problems → Sizing of SELECT elements within tables
Changing title from "Image layout has problems" to "Sizing of SELECT elements within tables".
I changed my mind again. It should be RESOLVED-INVALID, since the size is always set on the images inside the table cells rather than the table cells themselves, so there is no constraint to keep the top cell small. However, sizing of SELECT elements (and when to have a horizontal scrollbar) is strange. Perhaps that should be a bug, but a new one...
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → INVALID
dbaron@fas.harvard.edu: once again, I must hand it to you. You seem to have nailed this one. I agree, let's mark it RESOLVED-INVALID. Indeed, this case does look like a tough one. :-) Part of it seems to be due to bugs in Mozilla, but the other part indeed is author error, and I am almost tempted to grill the author on this. <g> Since you are more knowledgeable about the SELECT element bug than I am, I will let you create the new bug dealing with that. I agree, let's not morph this one into something new. :-) When you do create the new bug, please put me on the CC: list; I'd be interested in following this one too, just for fun. Many thanks.
Bug 8586 has been filed to cover issues with select elements, though you may want to add to it.
Status: RESOLVED → VERIFIED
Marking as verified invalid.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: