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

Re: Issue 1: Font-weight and headings

From: Todd Fahrner <fahrner@pobox.com>
Date: Sun, 27 Jul 1997 17:41:30 -0700
Message-Id: <v03102806b00197b86076@[206.245.203.103]>
To: Liam Quinn <liam@htmlhelp.com>
Cc: www-style@w3.org
Liam wrote:

>I'm not sure that all elements used should have all (applicable) CSS
>properties set.  An exhaustive style sheet would override all (non-
>!important) user styles, which seems to go against the idea of Cascading
>Style Sheets.  I recognize that the cascade does not always give optimal
>results, but I think that we have to trust it, or at least give it a
>chance with some real implementations.

Any author would still have that option, of course. IMO, users probably
should declare all truly important rendering features !important, anyway,
and let the rest apply only to unstyled material.

>As an author, I don't want to have to decide every single style for the
>user.  There are some properties that the user is able to decide better
>than me.

So you don't have to: you accept the defaults, which the user may choose to
override. This stylesheet would simply express the defaults for those who
wish to avoid nasty collisions. I see nothing wrong with user style sheets
chock full of !important declarations, btw. Odd UAs will need them.

>>Not a "designery" one, but one representing typical
>>out-of-the-box rendering of all HTML elements in the dominant browsers.
>>We'll know we're done when we can't tell whether it's being appled or not
>>(assuming correct CSS implementations, of course, and no changes to user
>>settings).
>
>Then what we're doing is trying to defeat the cascade.  If we dislike the
>cascade this much, perhaps it'd be better to attack the problem at the
>source and change the cascading model of CSS.  (FWIW, I'm satisfied with
>the cascade.)

FWIW, I think a user's !important declaration should have highest weight.
There's no need for an authorial !important when author's normal
declarations enjoy pride of place anyway.

________________________________________
Todd Fahrner
mailto:fahrner@pobox.com
http://www.verso.com/

The printed page transcends space and time. The printed page, the
infinitude of books, must be transcended. THE ELECTRO-LIBRARY.

--El Lissitzky, 1923
Received on Sunday, 27 July 1997 21:03:29 GMT

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