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

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Mon, 11 Jun 2012 23:59:06 +0200
Message-ID: <4FD66A2A.2070509@kozea.fr>
To: fantasai <fantasai.lists@inkedblade.net>
CC: www-style@w3.org, MURAKAMI Shinyu <murakami@antenna.co.jp>, Michael Day <mikeday@yeslogic.com>
Le 11/06/2012 22:06, fantasai a écrit :
> 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.

This is interesting, but a bit weird. The border from @page would "work 
together" with the background from :root or even body, while the 
background from @page and the border from :root are completely different.

This reminds me that I’m still not sure whether (implementation detail) 
I should have a single "page box" object that contains a fragment of 
:root; or more boxes for the page "sheet" (matching the 'size' 
property), the page area, the canvas, ...


Back to the proposed change: I’m fine either way, as long as none of 
this end up unspecified.

Regards,
-- 
Simon Sapin
Received on Monday, 11 June 2012 21:59:36 GMT

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