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

On 13/03/2014 22:42, fantasai wrote:
> On 02/07/2014 07:45 AM, Simon Sapin wrote:
>> 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
>
> Okay, I've made some edits to this section trying to address your
> concerns. Take a look and let me know if it's good.
>
>     http://dev.w3.org/csswg/css-grid/#z-order

Looks good. Thanks!

-- 
Simon Sapin

Received on Thursday, 13 March 2014 23:14:11 UTC