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 10:59:30 -0400
Message-Id: <>
To: Dão Gottwald <dao@design-noir.de>
Cc: Murray Maloney <murray@muzmo.com>, HTML Working Group <public-html@w3.org>

At 03:59 PM 5/18/2007 +0200, Dão Gottwald wrote:

>Murray Maloney schrieb:
>>At 02:28 PM 5/18/2007 +0200, Dão Gottwald wrote:
>>>Murray Maloney schrieb:
>>>>However, <i class="shipname">Titanic</i> could get you both a default style
>>>>and an understandable semantic.
>>>But that default style wouldn't be applied due to the class name.
>>How do you figure that?
>Like you did, I guess, when you wrote that '<span 
>class="shipname">Titanic</span> does not get you a /default/ style other 
>than that for <span>'.

The point was that <i> has a default typeface, whereas <span> has no 
default style.
So, <i class="shipname"> is going to yield an italic typeface in most GUI UAs
and can be tracked to a useful semantic. Whereas, <span class="shipname"> could
also yield a useful semantic, but not a useful default style.

Providing a class name does not nullify the default style for an element.


Received on Friday, 18 May 2007 14:59:28 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:21 UTC