[whatwg] [html5] r3316 - [e] (0) A quick introduction to HTML.

On Thu, 16 Jul 2009, Aryeh Gregor wrote:
> On Thu, Jul 16, 2009 at 8:56 PM, Ian Hickson<ian at hixie.ch> wrote:
> > Done. And then I added some more text for good measure too. :-)
> 
> The spec currently says "The attribute value can be left unquoted if
> it is a keyword. Otherwise, it has to be quoted using either single or
> double quotes."  But in 9.1.2.3 (which is normative, unlike 1.9), it
> says only that
> 
> "in addition to the requirements given above for attribute values,
> must not contain any literal space characters, any U+0022 QUOTATION
> MARK (") characters, U+0027 APOSTROPHE (') characters, U+003D EQUALS
> SIGN (=) characters, U+003C LESS-THAN SIGN (<) characters, or U+003E
> GREATER-THAN SIGN (>) characters, and must not be the empty string."
> 
> So values other than keywords can be left unquoted.  1.9 should
> probably say something like "The attribute value can be left unquoted
> if it doesn't contain special characters" or something like that,
> instead.  "left unquoted" could perhaps be a link to the "Unquoted
> attribute value syntax" part of 9.1.2.3.

Done. Thanks.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 16 July 2009 20:56:16 UTC