Re: Proposal for overflow painting order

On Thu, Feb 5, 2009 at 11:18 AM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> Specification introduced overlapping of elements by using negative margins.
> That overlapping *must* be specified. As simply as that.
>
> Current "not defined" spec produces following overlap (lateral view of tree
> elements with the one in the middle having negative margins):
>
> <pre>
>
>  \
> ---\
>    \-----
>     \
>
> </pre>
>
> But possible options are:
>
> Negative on top:
> <pre>
>
>   =====
> ----   ----
>
> </pre>
>
> Negative underneath:
> <pre>
>
> ----   ----
>   =====
>
> </pre>

I'm not an expert on the overflow painting rules, but the current UA
default behavior makes sense to me, and more importantly, *can't be
reproduced easily through other methods.*.  On the other hand, putting
it unilaterally over or under the overlapping content can be easily
done through z-index.  It's not an absolutely ideal solution, but
it'll work for the vast majority of cases, and is very simple.

Received on Thursday, 5 February 2009 18:08:40 UTC