Re: CSS 2.1 WD and non-CSS presentational hints

On Tuesday 13 August 2002 1:55 pm, Coises wrote:
|  [Tue, 13 Aug 2002 09:50:29 +0200] Håkon Wium Lie:
[snip]
|
|  2. Many (though not all) of the "presentational variables" in a browser
| can be expressed in terms of CSS.  (Examples of things which can be
| expressed in CSS are the default color of text, the default presentation of
| unvisited, visited and hovering links and the default font used for PRE
| elements; examples of things which cannot be expressed in CSS are the
| specific fonts to be used for the CSS generic font families, the actual
| value corresponding to "font-size: small" and the color of the canvas.)  It

You *can't* and *shouldn't* express "font-size: small" in CSS!
I use following settings in my browser:

Konqueror browser->Appearance->Font size
Minimum Font size: 7 [pt]
Maximum Font size: 10

All this is controlled from the Preferences (Settings) dialog.
If someone want *bigger* fonts for  "font-size: small" , he can tune it in 
this dialog.
For the same reason, default font names (Arial/Helvetica for SanSerif, 
Times/TNR for Serif) are not hard-coded in html4.css
You select font names in Preferences dialog, too.

| was actually you, Håkon, who once suggested (on another mailing list) that
| it would be desirable if Opera could express as many as possible of the
| user-controllable presentational variables as user style sheets.
|  Customization of presentation in the browser would then be largely
|  encapsulated by user style sheet handling --- the number of "special"
|  variables to be implemented piecemeal would be limited to those which
| could not be expressed in CSS.  I thought this was a good idea --- but it

Is there any list somewhere describing proposed variables?

| would be complicated by this change, since (as demonstrated in point 1)
| many defaults could no longer be expressed in a user style sheet.  It would
| be necessary to provide a separate "hook" into the user agent default style
| sheet to implement presentational defaults, thus making a much "messier"
| model than one which simply expresses user choices as a user style sheet.

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/

Received on Thursday, 15 August 2002 02:18:13 UTC