On May 4, 2009, at 10:59 PM, Alan Gresley wrote:

> <http://css-class.com/test/bugs/ie/margin-abpos-no-top-offset.htm>
>
>
> Question for the list. Where should the absolutely positioned element
> (with no top offset) be placed in this test case?
>
> a. Firefox and Safari shows the a.p. element (removed from flow) over
> the element with a lime background.
> b. IE 6~7 and Opera shows the a.p. element in the top right corner of
> the page.
>
>
> I would think that Firefox and Safari are showing correctly since the
> margin-top of div#test collapses into the margin-top of body and html
> which are the initial containing block (root element).

I tend to agree here. The top-margin on #tests collapses through
(add a background-colour to the root element to visualise)
Then apply 10.6.4.

(but maybe the question should be addressed to www-style. It is an  
edge case)

A related discussion:
<https://bugzilla.mozilla.org/show_bug.cgi?id=401647>

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to