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

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

From: MURAKAMI Shinyu <murakami@antenna.co.jp>
Date: Tue, 19 Jun 2012 20:00:27 +0900
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org, Michael Day <mikeday@yeslogic.com>, Simon Sapin <simon.sapin@kozea.fr>
Message-Id: <20120619200026.6440.C598BCD7@antenna.co.jp>
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.

-- 
MURAKAMI Shinyu
http://twitter.com/MurakamiShinyu
Antenna House Formatter:
http://www.antennahouse.com
Received on Tuesday, 19 June 2012 11:00:55 GMT

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