W3C home > Mailing lists > Public > public-html@w3.org > March 2008

Re: < in the tag name state

From: Thomas Broyer <t.broyer@gmail.com>
Date: Sun, 23 Mar 2008 10:42:34 +0100
Message-ID: <a9699fd20803230242k3dc8a050k8410efc62f8f373d@mail.gmail.com>
To: public-html@w3.org

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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:53 UTC