Bug 11543 - Positioning of floats when before collapsing margins
: Positioning of floats when before collapsing margins
Status: REOPENED
Product: WebKit
Classification: Unclassified
Component: CSS
: 420+
: PC Mac OS X 10.4
: P2 Normal
Assigned To: Nobody
http://www.hixie.ch/tests/adhoc/css/b...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-07 16:09 PST by Ian 'Hixie' Hickson
Modified: 2012-09-27 10:47 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian 'Hixie' Hickson 2006-11-07 16:09:13 PST
This test case renders incorrectly:
http://www.hixie.ch/tests/adhoc/css/box/block/margin-collapse/067.html

The float is in between two collapsing margins, so it should get a self-collapsing anonymous parent block and be aligned with the top border edge of that block. That block is between collapsing margins (obviously). The top border edge of that block is defined to be the same as the top border edge of the parent block (since the block's top margin collapses with the parent block's). The parent block's top border edge is defined to be what it would be if that block had a non-zero top border edge.
Comment 1 mitz@webkit.org 2007-08-29 01:04:04 PDT
See also bug 15062.
Comment 2 mitz@webkit.org 2007-08-29 01:11:24 PDT
(In reply to comment #1)
> See also bug 15062.
 
Don't. See also bug 15105 instead.
Comment 3 Robert Hogan 2012-09-26 12:20:27 PDT
Looks like this hasn't really moved on from: http://lists.w3.org/Archives/Public/www-style/2007Sep/0048.html

Everyone is broken per the spec, and it doesn't look as if the spec has changed.
Comment 4 Robert Hogan 2012-09-26 12:21:16 PDT
Didn't mean to mark invalid!