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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 10 Feb 2011 14:49:28 -0800
Message-ID: <4D546B78.6080902@inkedblade.net>
To: Sylvain Galineau <sylvaing@microsoft.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 02/10/2011 11:12 AM, Sylvain Galineau wrote:
> [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.

I'm guessing the definition of background-clip has the answer:
   http://www.w3.org/TR/css3-background/#the-background-clip
:p

~fantasai
Received on Thursday, 10 February 2011 22:50:02 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:56 UTC