W3C home > Mailing lists > Public > www-style@w3.org > December 2005

Re: styling xml with css - copying xml attribute values into CSS attribute values

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 15 Dec 2005 22:38:22 +0100
To: "Noah Scales" <noahjscales@yahoo.com>, "Laurens Holst" <lholst@students.cs.uu.nl>
Cc: www-style@w3.org
Message-ID: <op.s1ug18iy64w2qv@id-c0020.oslo.opera.com>

On Thu, 15 Dec 2005 22:27:25 +0100, Noah Scales <noahjscales@yahoo.com>  
wrote:
> You think that CSS doesn't give meaning to HTML, that
> it just gives HTML mark-up display semantics. Sure, in
> the same way that accompanying CSS styles my custom
> hypertext mark-up. The only difference is that
> browsers have default CSS interpretations of the
> "meaning" of HTML coded into them.

Not just that. CSS does not define what is a link for example. It can  
select a link. CSS does not have knowledge or anything to say regarding  
the language of the document. Regarding what is or what is not a quote.  
What is a header and what is not a header. Such underlying semantics are  
quite important for devices though. (Skipping through
headers, letting the user know extra information regarding the quote,  
etc.) Such underlying semantics are only exposed because devices have  
knowledge about the elements and not because they have knowledge about  
their default style.

Which is logical, as the default style might only be applied for a  
particular medium and not for all. CSS has always been designed as an  
optional styling language.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 15 December 2005 21:38:40 GMT

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