W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > July to September 2001

RE: !important

From: Joel Sanda <joels@ecollege.com>
Date: Tue, 17 Jul 2001 11:39:48 -0600
Message-ID: <2FECE9363D811B418C3F282834F172A56DBD17@PIKESPEAK.corp.ecl>
To: "'Wendy A Chisholm'" <wendy@w3.org>, w3c-wai-gl@w3.org
Cc: w3c-wai-ua@w3.org
Using the same file for the Opera example
(http://www.geocities.com/joelsanda/important.htm) Netscape 4.77 for Windows
preserved the !important declaration for the paragraph tag but also allowed
me to override the paragraph tag that did not have !important. Essentially
the same behavior as Opera 5.12.

Netscape 4.77 allows some manipulation of presentation within the
preferences section but does not seem to allow a user specified style sheet.
Options are limited to color, size, and font family. Netscape seemed to
preserver the !important declaration even with the three options in
preferences for applying font style (basically: no user, some user, all
user).



Joel Sanda 
Product Manager
-------------------------------------------------------www.eCollege.com
eCollege
joels@ecollege.com
> p. 303.873.7400 x3021
> f.  303.632.1721 


-----Original Message-----
From: Wendy A Chisholm [mailto:wendy@w3.org]
Sent: Tuesday, July 17, 2001 11:39 AM
To: Joel Sanda; w3c-wai-gl@w3.org
Cc: w3c-wai-ua@w3.org
Subject: RE: !important


Hello,

Results for IE 5.5:

IE 5.5 for Windows gives the user's !important precedence over the author's 
!important.  However, it only takes effect after opening a new page; a 
refresh doesn't make all of the changes.

I used the attached user style sheet to look at Joel's example page.  Since 
he only declared font-size as important, that's the only thing I can't 
change w/my style sheet with a page refresh. Once I  open it in a new page 
i get the smaller font and the serif font-family (rather than arial as he 
defined).  Changes in text color take effect with a page refresh.

--wendy

At 10:48 AM 7/17/01 , Joel Sanda wrote:
>Opera 5.12 for Windows seems to handle the !important declaration. Opera,
>though, can be trickier to test than Netscape or IE because of its
>flexibility with style sheets.
>
>I tossed an example up here:
>http://www.geocities.com/joelsanda/important.htm.
>
>The example's a bit extreme - the p class is defined as arial, 20em, red,
>and declared important. The final paragraph (p.you) (way past the huge red
>letters <grin>) is defined as arial, 20em; black.
>
>Opera 5.12 (Windows) will not override the normal p class, but will allow
me
>to modify the p class with user preferences or by loading an external user
>style sheet.
>
>This should conform to CSS Level 1.
>
>Joel Sanda
>Product Manager
>-------------------------------------------------------www.eCollege.com
>eCollege
>joels@ecollege.com
> > p. 303.873.7400 x3021
> > f.  303.632.1721
>
>
>-----Original Message-----
>From: Wendy A Chisholm [mailto:wendy@w3.org]
>Sent: Monday, July 16, 2001 5:14 PM
>To: w3c-wai-gl@w3.org
>Cc: w3c-wai-ua@w3.org
>Subject: !important
>
>
>Hello,
>
>Does anyone know if current user agents have implemented !important as
>defined in CSS1 or as in CSS2 - i.e. in CSS1 the author has preference, in
>CSS2 it's the user.
>
>I'm assuming it's per the CSS1 spec since that is more widely implemented
>than CSS2.
>
>Sorry for the cross-post.  Please provide a reference with your response.
>
>WebReview only shows !important in the CSS1 chart and not the CSS2 list
>(which  they warn is not complete).
>
>Thanks,
>--wendy
>--
>wendy a chisholm
>world wide web consortium
>web accessibility initiative
>seattle, wa usa
>tel: +1 206.706.5263
>/--
Received on Tuesday, 17 July 2001 13:39:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 06:50:58 GMT