Garth Wallace wrote:
> "Emlyn" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 
>>>>Is this a bug or a feature?
>>>>
>>>There doesn't seem to be anything in the HTML spec
>>>forbidding whitespace in the TYPE attribute. I think
>>>it's neither a bug nor a feature, just a slightly different
>>>interpretation of the spec.
>>>
>>But... but... isn't big, bad Mozilla supposed to Lay Down the Law?
>>
> 
> Mozilla doesn't make the rules, it follows the rules.
> In this case, the spec doesn't say either way is
> right or wrong.

Extract from HTML 4.01 spec, section 6.2 :

   User agents may ignore leading and trailing white space in CDATA
   attribute values (e.g., "   myval   " may be interpreted as "myval").
   Authors should not declare attribute values with leading or trailing
   white space.

</Daniel>


Reply via email to