Closed Bug 15958 Opened 26 years ago Closed 25 years ago

[FLOAT][BLOCK] Centering in the vicinity of floats

Categories

(Core :: Layout, defect, P3)

All
Windows 98
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: stew, Assigned: ian)

References

()

Details

(Keywords: testcase, Whiteboard: (py8ieh:reexamine))

Attachments

(3 files)

Within a site I maintain we have a frame, with 3 33% wide tables within one larger table. This does not work, the tables appear to be mis arranged and in correct sizes. These tables work fine in Netscape Comm 4.7 and MSIE.
Whiteboard: [TESTCASE]
Assignee: karnaze → kipp
Kipp, I table code was incorrectly allocating the sizes of the nested tables in attachment #2 [details] [diff] [review]. I fixed that and now it looks like a floater problem.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 13196 ***
Verified dup of #13196
Status: RESOLVED → VERIFIED
Status: VERIFIED → REOPENED
This is reopened? Should I clear the 'duplicate' resolution?
Resolution: DUPLICATE → ---
Status: REOPENED → ASSIGNED
Target Milestone: M15
I did some analysis on testcase #1. The issue turns out to be how we make tables center themselves. In particular, what we currently do is to set the side margins to "auto" and let the normal block margin logic take over. However, in the presence of floaters this doesn't do the right thing :-(
More data: nav4 applies the centering *after* taking into account the presence of the floaters....I have no idea if css has anything to say about this, but it explains the bug in the display rather neatly. I've added dbaron to see if he has any attitude about how we should behave in this case (testcase1).
I'm not sure how your normal block logic makes things end up the way they do. Could it have something to do with a bug in float-edge?
float-edge has nothing to do with it. The question is, when something is centered, what is it centered relative too? Should the floaters impact the centering? navigator says yes, we say "kind of". I think nav's interpretation is better given that you may have assymetric floaters (all on the left, all on the right are easy obvious examples). Opinions?
When a block is centered, it's side margins are made equal. So what are those margins relative to? That's where float-edge comes into it, I think (if float-edge is going to be anything like what I proposed in http://lists.w3.org/Archives/Public/www-style/1998Dec/0082.html http://lists.w3.org/Archives/Public/www-style/1998Dec/0083.html ).
Updating to default HTML Tables Assignee...kipp no longer with us :-(
Summary: Multiple embedded tables do not work → [FLOAT] Multiple embedded tables do not work
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
mine! mine mine mine! all mine! whoo-hoo!
Assignee: kipp → buster
*** Bug 30084 has been marked as a duplicate of this bug. ***
the centered table must center itself between the rightmost edge of the left floaters, and the leftmost edge of the right floaters.
moving all buster m15 bugs to m16.
Target Milestone: M15 → M16
mass-moving all remaining M16 bugs to M17
Status: ASSIGNED → NEW
Target Milestone: M16 → M17
not sure if there multiple tables but this page doesn't look quite right. http://search.netscape.com/Recreation?cp=nsidircat
Keywords: 4xp
Summary: [FLOAT] Multiple embedded tables do not work → [FLOAT][BLOCK]Centering in the vicinity of floats
Does this occur with floated DIVs too? Taking bug to examine it. I'm guessing it only affects TABLE elements, if it affects normal CSS blocks too then this is a major bug.
Assignee: buster → py8ieh=bugzilla
Severity: normal → major
Summary: [FLOAT][BLOCK]Centering in the vicinity of floats → [FLOAT][BLOCK] Centering in the vicinity of floats
Whiteboard: [TESTCASE] → (py8ieh:reexamine)
Target Milestone: M17 → M19
Keywords: qawanted
QA Contact: chrisd → ian
the only remaining problem is with -moz-float-edge and floaters with block boxes. The issues mentioned above are all working now.
Status: NEW → RESOLVED
Closed: 26 years ago25 years ago
Resolution: --- → WORKSFORME
Removing qawanted. The -moz-float-edge bugs have been filed. (Search for "-moz- float-edge" in the summary.)
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: