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

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 UTC