On Tue, Feb 23, 2010 at 1:52 PM, Alan Gresley <[email protected]> wrote: > > While doing some other test I discovered a bug in Opera 9~10 (including > 10.50 beta). It is concerning collapsing margins and boxes that have > been removed from the flow (either by floating or absolute or fix > positioning) [...] > > <http://css-class.com/test/css/visformatting/ap-collapsing-margins.htm>
I haven't looked at the details, but think that the Opera "problem" is not much with margins collapsing but with top:auto positioning of an absolutely positioned box. (Indeed you say in your page that even in 2a, 2b the margin collapsing between container and paragraph is correct). I have here another simple example where a top:auto a.p. box is positioned differently in Opera than in all other modern browsers. http://www.brunildo.org/test/Op_top_auto.html I don't think these different behaviors can be strictly considered bugs, at least according to my reading of the spec at http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height They mention a "static position" saying that "user agents are free to make a guess at its probable position". If this reading is correct, "top:auto" is somewhat undefined for a.p. elements. Best regards, Bruno -- Bruno Fassino http://www.brunildo.org/test ______________________________________________________________________ css-discuss [[email protected]] 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/
