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

[css-grid] Editorial: Painting order: 'order' vs. 'z-index'

From: Simon Sapin <simon.sapin@exyr.org>
Date: Fri, 07 Feb 2014 15:45:37 +0000
Message-ID: <52F4FFA1.7060801@exyr.org>
To: "www-style@w3.org" <www-style@w3.org>
Hi,

The current Grid ED says:

> When grid items overlap, the z-index property provides control over
> the drawing order of grid items. Grid items paint exactly the same as
> flex items [CSS3-FLEXBOX]: they use order-modified document order,
> and z-index values other than auto create a stacking context even if
> position is static.

"z-index property provides control" and "they use order-modified 
document order" seem contradictory, as the latter suggests it defines 
the entire painting order.

I suggest using wording from the Flexbox spec:

> [] paint exactly the same as inline blocks [CSS21], except that
> order-modified document order is used in place of raw document order

-- 
Simon Sapin
Received on Friday, 7 February 2014 15:46:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC