Re: [CSS2.1] Background boundaries and attachment

On Sat, 11 Oct 2003, fantasai wrote:
> [1] Testcase:
>      http://fantasai.tripod.com/www-style/2003/background-attachment.html
>
>       With "background-attachment: scroll", these browsers scroll
>       the background with the content:
>         Mozilla (& Netscape et al.) *
>         IE Win
>       These follow the CSS2.1 draft's wording:
>         Opera 7.0
>         MacIE
>         Safari
>
>      * Although Mozilla actually does both at once (See Ian's test case:
>        http://www.hixie.ch/tests/adhoc/css/background/block/002.html )
>        transparent background images are rare enough that in almost
>        all cases, the perception is that it scrolls the background
>        with the content like IE Win.

Actually, as of about 26 hours ago (two hours after you sent your e-mail),
Mozilla follows the CSS2.1 wording as well. So only WinIE does the
scrolling thing now.


>      Mozilla:
>        Previous versions of Mozilla behaved like Opera and Safari.
>        Recent ones position the background image within the padding
>        box but tile it into the border area.

For the record, Mozilla's behaviour is actually dependent on the values of
'-moz-background-clip' and '-moz-background-origin', whose initial values
are currently somewhat arbitrarily the same as the proposed CSS2.1 model.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 12 October 2003 12:23:57 UTC