W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: [css, bug of specification] negative margins, painting order, stacking context.

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 9 Feb 2009 21:09:38 -0800
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20090210050938.GA4494@pickering.dbaron.org>

On Monday 2009-02-09 19:46 -0800, Andrew Fedoniouk wrote:
> Let's put aside negative margins feature for a while.
> Could you define conditions when these two schemas will produce
> different results? I cannot.

You're asking whether they produce negative results in any
cases without negative margins?

Sure.  There are other ways of making non-positioned blocks in the
same normal flow overlap, such as small (or even just non-factor)
line-heights, or explicit heights or max-heights.

And of course, if you presume that things will never overlap, then
z-ordering rules become a lot less interesting.

But on real Web pages, things do overlap quite a bit.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 10 February 2009 05:10:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC