W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] Parsing (and syntax): < in unquoted attribute values

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 15 Jun 2007 01:45:15 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706150133540.30490@dhalsim.dreamhost.com>
On Wed, 29 Nov 2006, Simon Pieters wrote:
> 
> The parsing section says that < in unquoted attribute values are a parse 
> error and that it causes the tag token to be emitted. As far as I can 
> tell < does not emit the tag token in at least Firefox, IE6 or Safari. 
> Is it intentional to emit the tag token here? (If it is, why?)
> 
> If not, should it still be a parse error (and be disallowed in the 
> syntax section)?

I've removed special processing of "<".

Note that the following cases no longer close start tags, despite them 
working interoperably in Safari and Firefox:

   <div<p>
   <div title <p>
   <div title=""<p>

And the following two no longer close tags either (only worked in 
Firefox):

   <div title<p>
   </div<p>

All of these were allowed in SGML, as I understand it.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 14 June 2007 18:45:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC