Re: < in the tag name state

On Sun, Mar 23, 2008 at 10:30 AM, Henri Sivonen wrote:
>
> The spec doesn't treat < as special in the tag name state. This is
> inconsistent with Firefox 3, Safari 3.1 and Opera 9.5 (and SGML-based
> HTML 4 validation). I don't have IE to test with. Is it an IEism?
>
> The change that would be compatible with Gecko and WebKit would be
> emitting the current tag token and reconsuming < in the data state.
> (In Opera the stuff starting with < becomes an attribute.)
>
> Test case:
> http://virtuelvis.com/download/162/evilml.html

IE7 behaves as HTML5 says: there are lots of elements whose name is
"/", an element named "BODY<H1<EM", and another named "P<A" (with an
attribute named "<em").

I don't have an IE8 at hand to test with.

-- 
Thomas Broyer

Received on Sunday, 23 March 2008 09:43:08 UTC