W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Re: Proposal: Chained Classnames

From: Murray Maloney <murray@muzmo.com>
Date: Fri, 18 May 2007 08:04:34 -0400
Message-Id: <5.1.1.6.2.20070517180101.00b18dd0@mail.muzmo.com>
To: HTML Working Group <public-html@w3.org>

At 11:18 PM 5/17/2007 +0200, Dão Gottwald wrote:

>Sure, just like style rules for [role~="foo"] are connected to the 
>semantics of an element with the "foo" role. The crux is /default/ style sheet.

I'm confused. Or maybe I just don't understand what point you are making.

Are you saying that an element's /default/ style sheet has nothing to do with
the CLASS value, but rather on whatever defaults are established for that
HTML element on that particular UA?

Yes, it is true that <span class="shipname">Titanic</span> does not get you
a /default/ style other than that for <span> in general.

However, <i class="shipname">Titanic</i> could get you both a default style
and an understandable semantic.

Regards,

Murray
Received on Friday, 18 May 2007 12:05:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT