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

[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 UTC