W3C home > Mailing lists > Public > www-style@w3.org > July 1997

Re: !important

From: Neil St.Laurent <neil@bigpic.com>
Date: Mon, 28 Jul 1997 09:44:40 -0600
Message-Id: <199707281540.JAA00219@underworld.bigpic.com>
To: www-style@w3.org
CC: chris@w3.org
In the time of 28 Jul 97:17:01, www-style@w3.org pronounced:

> For example, one suggestion (made on accessibility grounds) is to not allow
> !important in author stylesheets. Or, to have a !essential or somesuch
> which was only allowed in reader stylesheets..

I think that !important is a very good name for what it does.  
However what would be nice to see is something like an !absolute 
notation.  Such that something !absolute CANNOT be overriden.
Author's are free to to specify this as well, except that when the 
user has their colors marked as !absolute there is nothing the author 
can do about it.

Ex.

User's Sheet:

HTML { background: blue !absolute;
   color: yellow !absolute }

This would effectively meant hat regardless of what the author has 
done in their stylesheet the user will always be able to browse with 
yellow on blue text.

Additionally this offers special advantages for author's as well, 
consider:

TT { background: black !absolute;
   color: white !absolute;
   font-family: "Courier New", monospace;
  font-size: 12pt }

This way any <TT>...</TT> section can be rendered a specific way 
without worrying about changes within the section.  This would be 
usefulfor "debugging" web pages or including sections of other pages, 
and can be used to limit the number of contextual selectors needed in 
certain sheets.
__
| Mortar: Advanced Web Development <http://bigpic.com/mortar/>
| Neil St.Laurent  neil@bigpic.com
| Big Picture Multimedia
Received on Monday, 28 July 1997 11:42:37 GMT

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