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

Re: Proposal: Chained Classnames

From: Dão Gottwald <dao@design-noir.de>
Date: Fri, 18 May 2007 17:25:52 +0200
Message-ID: <464DC580.9060005@design-noir.de>
To: Murray Maloney <murray@muzmo.com>
CC: HTML Working Group <public-html@w3.org>

Murray Maloney schrieb:
> 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.

Well, maybe that was your point, but I don't see how this is related to 
what I wrote.

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

I didn't make such a claim. In fact, my point was all along that a 
spec'ed default style sheet must not mess around with predefined classes.

Was "that default style wouldn't be applied due to the class name" 
ambiguous? In that case, I'll add "but due to the <i> tag".

--Dao
Received on Friday, 18 May 2007 15:26:17 GMT

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