[whatwg] Parsing: handling of </body>, </head>

On Thu, 21 Jun 2007, Anne van Kesteren wrote:

> On Wed, 20 Jun 2007 22:17:26 +0200, Ian Hickson <ian at hixie.ch> wrote:
> > On Wed, 20 Jun 2007, Anne van Kesteren wrote:
> > > I'm not convinced
> > > 
> > > http://html5.org/tools/web-apps-tracker?from=917&to=918
> > > 
> > > is a good change to make. This changes how things like </body><meta> or
> > > </body><style> work in browsers. That doesn't seem wise.
> > 
> > It only changes it if the </body> is at the start of the document. I
> > haven't come across that kind of markup in my experience. Is this really a
> > problem?
> 
> I'm not sure if we should be making changes to parsing algorithms that 
> already exist without sufficient evidence that it is for the better and 
> does not break anything.

The problem is that if we don't do this, then very simple documents put 
comments in the wrong place. I agree that it is risky, but I think in this 
case it is worth it, at least unless we can find counter-evidence.

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

Received on Thursday, 21 June 2007 22:10:43 UTC