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

WD-css-style-attr: XHTML's "style" attribute

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 26 Oct 2000 05:18:24 +0200
Message-ID: <00ac01c03efb$89eb3360$0bcbb43e@de>
To: <www-style@w3.org>
Hi,

Referring to: http://www.w3.org/TR/2000/WD-css-style-attr-20001025

First, from the source:

|   <style type="text/css">
|     .emph-code {text-decoration: underline; font-size: 12pt}
|   </style>

You don't know the physical properties of my screen device so you should not
use an absolute length unit, as per CSS 1.0, CSS 2.0 and WAI CSS Techs 1.0.

|    HTML 4.0 introduced the STYLE attribute, whose contents could
|    contain any styling language (through the use of META
|    HTTP-EQUIV Content-Style-Type), but by default, and in
|    practice, has only contained CSS. XHTML Modularization
|    introduced the Style Attribute Module which also has a STYLE
|    attribute whose semantics are the same as that in HTML 4. SVG

XHTML Mod. will introduce a Style Attribute Module which defines a "style"
attribute. Remember, XHTML is case-sensitive.

|    also has a language neutral Style attribute, whose language is
|    specified with the contentStyleType attribute which has the
|    default value of "text/css". MathML states that all MathML
|    elements accept the Style attribute to facilitate
|    compatibility with CSS.

Im not that familiar to MathML but it would be reasonable that the
attribute-name is in lowercase, too.

|    This document recommends that any future XML based languages
|    which have presentational information (whether visual, aural,
|    tactile or other) also add a STYLE attribute which similarly
|    permits the user to use CSS to style the document and elements
|    in documents written in that language.

I'd like to see "STYLE attribute" in all lowercase here, marked up as <code>
in the document.

I hope future versions of this document are written in XHTML.

regards,
--
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://www.websitedev.de/
..weaving a secure, well-formed, standard compliant WWW for =everyone=..
Received on Wednesday, 25 October 2000 23:18:00 GMT

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