W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: [CSS2.1] Background boundaries and attachment

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 12 Oct 2003 16:23:49 +0000 (UTC)
To: fantasai <fantasai@escape.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.58.0310121530060.29626@dhalsim.dreamhost.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:24 GMT