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

Re: <code type="...">

From: Dão Gottwald <dao@design-noir.de>
Date: Sun, 01 Jul 2007 22:08:30 +0200
Message-ID: <468809BE.3030003@design-noir.de>
To: Josh Sled <jsled@asynchronous.org>, "public-html@w3.org" <public-html@w3.org>

Josh Sled schrieb:
> liorean <liorean@gmail.com> writes:
>> Further, do we have a reason for assuming that a class attribute
>> doesn't deal with this adequately?
> [...]
>> However, I don't really see what a type attribute adds that a class
>> attribute could not be used to provide instead.
> 
> @class would work in practice, yes.
> 
> In a simple experiment with firefox, it seems like one would need to use
> the CSS selector code[class~="application/javascript"] rather than
> code.application/javascript, but so what.

code.application\/javascript should work.

Dao
Received on Monday, 2 July 2007 15:51:24 GMT

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