Excluding declarations from the cascade

Hi,

   Current CSS features allow the user some control over the
presentation of documents, but it's a rather limited control. For
example some users don't like 'text-decoration: blink' others don't
like 'position: fixed', 'background-attachment: fixed', 'cursor:
crosshair', etc.pp. CSS allows you only to demand a specific
presentation, you cannot exclude some property/value combinations. For
example, to get rid of 'position: fixed' I can only write

  * { position: static !important }

but this would override all values for the position property I _want_ to
allow, and this would cause problems. Consider

 * { text-decoration: none !important }

and the author defines

 obsololete { text-decoration: line-through }

the presentation would break. I like to see some feature in CSS Level 3
that allows me to exclude distinct values for specific properties
instead of overriding them.

A possible syntax could be a new at-rule, e.g.

  @exclude {
    :link, :visited { text-decoration: none                  }
    *               { position: fixed                        }
    body            { background-attachment: fixed           }
    p               { color: silver; background-color: white }
  }

but maybe others can come up with some better suggestions.

regards,
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Sunday, 19 August 2001 13:28:38 UTC