W3C home > Mailing lists > Public > www-style@w3.org > October 2002

Re: A possible presentational hints proposal for CSS 2.1

From: fantasai <fantasai@escape.com>
Date: Tue, 08 Oct 2002 17:00:30 -0400
Message-ID: <3DA3476E.1050909@escape.com>
To: www-style@w3.org

Ian Hickson wrote:
 >  Elements and non-presentational attributes should be handled in the
 >  user agent stylesheet.

user.css -

    * { font-style:normal;
        color: black; }


<p>Terms created by combining initial letters from words in a phrase</p>

<dt><i><font color="blue">HTML</font></i>
     <dd>HyperText Markup Language
<dt><i><font color="blue">CSS</font></i>
      <dd>Cascading Style Sheets

<div align=center>
<h2>Other Abbreviations</h2>

<dt style="font-style: italic; color: blue">i18n</dt>
<dt  style="font-style: italic; color: blue">l10n</dt>


The formatting for both parts should be identical. However, according
to the proposed text, the following discrepencies would occur:
    - The first title section will not be centered, even though the
      second is--and both are using presentational HTML.
    - Terms in the second section will be both blue and italic.
      However, terms in the first section will be blue, but not italic,
      even though both formatting properties are set with HTML.

IMO, such strange idiosynchratic behavior should not be the result
of a deliberate design. Also, as has been pointed out before,
treating <div align=center> and <center> differently is incorrect.

Why don't you use Stuart Ballard's "non-css presentational hints"
definition in [1] and supplement it with an unknown XML exemption
and a specific list for HTML, as has been done with the attribute-
based definition?

[1] Ballard, Stuart. "Re: CSS 2.1 WD and non-CSS presentational hints",
        www-style@w3.org (2002-08-28).
        message-id: <3D6CE6AE.6090401@netreach.com>

Received on Tuesday, 8 October 2002 17:00:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:04 UTC