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

Re: CSS2.1, CSS3: Background-Attachment

From: fantasai <fantasai@escape.com>
Date: Sun, 02 Mar 2003 13:51:17 -0500
Message-ID: <3E6252A5.9090707@escape.com>
To: www-style@w3.org

Ian Hickson wrote:
> On Sun, 2 Mar 2003, fantasai wrote:
> 
>>As an author, I would expect the background to scroll
>>with the element's content just like it does for the <body>.
> 
> The working group discussed this at length. It is hoped that CSS3 will
> introduce a value, called 'overflow-scroll', to achieve the effect you
> describe. What brought this on is
> 
>    http://www.hixie.ch/tests/adhoc/css/background/block/001.html
> 
> What would you say should happen under the borders?

The background should scroll with the text. I explained this
at length to caillon awhile back; I can post the IRC log, if
you want.

If CSS3 will introduce this new value, then why not name it
'scroll'? You still have to define it, so you're not going to
sidestep the issue by deferring to CSS3. You're not even going
to defer it by much, since CSS3 Backgrounds is already Last
Call. You get a name that makes more sense, you avoid
disturbing existing pages and author conceptions, and you
avoid hacks like the extra-inner-box-for-the-background one.

(That wasn't a rhetorical question, by the way.)

> Actually, Mozilla follows both wordings simulateously.

Ah, yes. I'd fogotten about that. :)

>>If CSS dictates that scrolling the background with the text is no longer
>>possible, I shall be therefore be somewhat annoyed.
> 
> It is still possible. Merely enclose the overflowing contents in a block
> and put a background on that instead of on the element with the overflow
> property.

That's a hack. And it's not going to help on pages designed for
the dominant interpretation right now (which, except on pages
using scrolling partly-transparent backgrounds, includes Mozilla's
market share).

~fantasai
Received on Sunday, 2 March 2003 13:50:37 GMT

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