Closed
Bug 15958
Opened 26 years ago
Closed 25 years ago
[FLOAT][BLOCK] Centering in the vicinity of floats
Categories
(Core :: Layout, defect, P3)
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.
Comment 1•26 years ago
|
||
Updated•26 years ago
|
Whiteboard: [TESTCASE]
Comment 2•26 years ago
|
||
Updated•26 years ago
|
Assignee: karnaze → kipp
Comment 3•26 years ago
|
||
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.
Comment 6•26 years ago
|
||
This is reopened? Should I clear the 'duplicate' resolution?
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?
Comment 10•26 years ago
|
||
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 ).
Comment 12•26 years ago
|
||
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
Comment 13•26 years ago
|
||
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Comment 15•26 years ago
|
||
*** Bug 30084 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Comment 16•25 years ago
|
||
the centered table must center itself between the rightmost edge of the left
floaters, and the leftmost edge of the right floaters.
Comment 17•25 years ago
|
||
Comment 19•25 years ago
|
||
mass-moving all remaining M16 bugs to M17
Status: ASSIGNED → NEW
Target Milestone: M16 → M17
Comment 20•25 years ago
|
||
not sure if there multiple tables but this page doesn't look quite right.
http://search.netscape.com/Recreation?cp=nsidircat
Summary: [FLOAT] Multiple embedded tables do not work → [FLOAT][BLOCK]Centering in the vicinity of floats
| Assignee | ||
Comment 21•25 years ago
|
||
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
| Assignee | ||
Comment 22•25 years ago
|
||
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 ago → 25 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Comment 23•25 years ago
|
||
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.
Description
•