W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css3-page][css3-background] Canvas background painting and positioning area

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 22 Jun 2012 15:22:28 -0700
Message-ID: <4FE4F024.6090703@inkedblade.net>
To: MURAKAMI Shinyu <murakami@antenna.co.jp>
CC: www-style@w3.org, Michael Day <mikeday@yeslogic.com>, Simon Sapin <simon.sapin@kozea.fr>
On 06/19/2012 04:00 AM, MURAKAMI Shinyu wrote:
> fantasai<fantasai.lists@inkedblade.net>  wrote on 2012/06/12 5:06:14
>> How about we change the spec to say:
>>
>>     0. Page Background
>>     1. Document Canvas
>>     2. Page Border
>>     3. Document Content
>>     4. Margin Boxes
>>
>> The document canvas would effectively be the "background" of the page
>> box, painting at the same layer with respect to the page border as a
>> normal box's background to its border. Layers 1, 2,&  3 would form a
>> stacking context; the margin boxes can be positioned above or below
>> them, but not interleaved between.
>>
>> Once we have that layering in place, we can allow the canvas to paint
>> underneath the border. And allow this to be controlled with background-clip.
>
> I am OK with this change.
> I checked our implementation, Antenna House Formatter, and found that
> we already have this painting order :)
>
>> (The open question is then, is it controlled by 'background-clip' on the
>> root element or on the @page context?)
>
> I think it should be on the root element because the canvas background
> is specified on the root element.

Ok, I've rewritten the painting section accordingly. Thank you for your
feedback! Please let me know if it's clear. :)
   http://dev.w3.org/csswg/css3-page/#painting

~fantasai
Received on Friday, 22 June 2012 22:23:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT