W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

[whatwg] [web-apps] 2.7.8 The i element

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 17 Apr 2005 16:56:10 -0400
Message-ID: <4262CD6A.10306@inkedblade.net>
Anne van Kesteren wrote:
> Ian Hickson wrote:
> 
>>> Then would you want different markup for book titles, movie titles,
>>> play titles, song titles, etc?  Or would you just expect the script
>>> to search IMDB for anything marked up with <cite>?
>>
>> Again, I don't really know. I could see a use case for a "type"
>> attribute (as was suggested earlier in this thread), but that seems
>> like a slippery slope. Suggestions?
> 
> If we go with something like a TYPE attribute, I hope we can give it a
> better name. However, hiding semantics inside the value of an attribute 
> is a poor markup design in humble opinion. (Although it also has some 
> advantages.)

It's subclassing: the general is sufficient, the specific better. Many
markup languages use the design, and in this case, I think it's necessary.

~fantasai
Received on Sunday, 17 April 2005 13:56:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC