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

RE: [css3-backgrounds] Percentage sizes and fixed backgrounds on the root element

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Thu, 10 Feb 2011 19:12:43 +0000
To: fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E2AB5A31F@TK5EX14MBXC120.redmond.corp.microsoft.com>
[fantasai:]
> The behavior you want is most definitely the more reasonable
> interpretation. :) It's actually already in the spec:
> 
> http://www.w3.org/TR/css3-background/#background-positioning-area
>    # If the 'background-attachment' value for this image is 'fixed', then
>    # this property has no effect: in this case the background positioning
>    # area is the initial containing block [CSS21].
> 
> http://www.w3.org/TR/CSS21/colors.html#propdef-background-position
>    # If the background image is fixed within the viewport (see the
>    # 'background-attachment' property), the image is placed relative to
>    # the viewport instead of the element's padding box.
> 
> I'll make a link from the instance of "background positioning area" you're
> quoting to its definition (partially quoted above); that should help. Are
> there any other clarifications you'd like to see?

That works ! While we're at it, what is the behavior of background-clip in
this case ? I assume it's ignored but it wouldn't hurt to be explicit. 
Received on Thursday, 10 February 2011 19:13:18 GMT

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