Closed Bug 69491 Opened 24 years ago Closed 21 years ago

-moz-float-edge sucks; especially with auto margins and left floaters

Categories

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

x86
Windows 2000
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: ian, Unassigned)

References

()

Details

(Keywords: css-moz, Whiteboard: [Hixie-P3] (because of effects on floats, lists, and the like) (may be replaced by float-displace and indent-edge-reset))

STEPS TO REPRODUCE
   1. float something to the left.
   2. immediately after it, create an in-flow box with 
        -moz-float-edge: margin-box;
        margin: 1em auto;
   3. lay it out.

EXPECTED RESULTS
   in-flow box should be centered in remaining space, and otherwise look
   normal (only high enough for its contents, etc.):

   +-----------------------------------------------------+
   |                                                     |
   |    +-------------------+    +--------------------+  |
   |    | left floater      |    |  centered text     |  |
   |    +-------------------+    +--------------------+  |
   |                                                     |
   +-----------------------------------------------------+


ACTUAL RESULTS
   the left floater doesn't affect the centering, unlike with right floaters.

   +-----------------------------------------------------+
   |                                                     |
   |    +----------+--------+-----------+                |
   |    | left floa|ecentere| text      |                |
   |    +----------+--------+-----------+                |
   |                                                     |
   +-----------------------------------------------------+

See test case.
Blocks: 38370

*** This bug has been marked as a duplicate of 69490 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified duplicate submission
Status: RESOLVED → VERIFIED
Nope, these were actually different bugs with distinct test cases and
descriptions.  Please be more careful of what you are doing.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Yikes! My mistake. I would have sworn that these were the same bug when I was
comparing them. Perhaps I had two of the same window open and didn't realize it.
I'll be more careful.
Accepting.
Status: REOPENED → ASSIGNED
Whiteboard: [Hixie-P3] (because of effects on floats, lists, and the like) (may be replaced by float-displace and indent-edge-reset)
Keywords: css-moz
Target Milestone: --- → mozilla1.1
Marc, could you update target milestone? 
Attinasi is no longer with NS.
Target Milestone: mozilla1.1alpha → ---
Priority: -- → P3
Target Milestone: --- → Future
Component: Layout → Layout: Floats
.
Assignee: attinasi → float
Status: ASSIGNED → NEW
QA Contact: cpetersen0953 → ian
Blocks: 143162
This appears to work now.
Status: NEW → RESOLVED
Closed: 24 years ago21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.