W3C home > Mailing lists > Public > www-style@w3.org > September 2002

CSS2.1, CSS3: background-attachment

From: fantasai <fantasai@escape.com>
Date: Fri, 13 Sep 2002 02:29:01 -0400
Message-ID: <3D8185AD.2050302@escape.com>
To: www-style@w3.org

| If a background image is specified, this property
| specifies whether it is fixed with regard to the
| viewport ('fixed') or scrolls along with the document
| ('scroll').
|
| [Note that there is only one viewport per view. If an
| element has a scrolling mechanism (see 'overflow'), a
| 'fixed' background doesn't move with it.]

There's a bit of uncertainty as to how 'background-attachment'
deals with elements that scroll.

'scroll' -
    Is the background fixed to the main canvas or to
    the element's canvas?

      "scrolls along with the document ('scroll')"

  'fixed' -
    Is the background fixed to the main viewport or
    the element's viewport?

     "a 'fixed' background doesn't move with [the element]",
     where the element could be construed as moving wrt the
     main viewport or its own viewport

Brought up from
http://bugzilla.mozilla.org/show_bug.cgi?id=165149

~fantasai
Received on Friday, 13 September 2002 02:29:34 GMT

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