W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] Do we want reparsing of <title>?

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 17 Apr 2006 23:56:21 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0604172351270.21459@dhalsim.dreamhost.com>
On Sun, 16 Apr 2006, Simon Pieters wrote:
> 
> The EOF entry in the Data State[1] says:
> 
> | When the content model flag is set to the title state: throw away all 
> | the tokens that were emitted since the content model flag was set to 
> | the title state, switch to the normal state, and start reconsuming all 
> | the characters that were consumed since that point. (In other
> | words, reparse everything that came after the title element's start 
> | tag.)
> 
> Do we really want reparsing here? Doesn't the same security 
> considerations that made the spec drop repasing of comments[2] apply 
> here aswell?
> 
> IE doesn't reparse here (it seems to just drop everything after the 
> <title>, resulting in a blank page), so I doubt that many pages rely on 
> this reparsing.

I think you're right, we don't want reparsing here.

http://bugzilla.opendarwin.org/show_bug.cgi?id=3905 says that Webkit will 
have this in the next version, despite IE not doing it.

https://bugzilla.mozilla.org/show_bug.cgi?id=21005 says that Mozilla won't 
do it, despite the fact that it does.

Opera and IE don't do this.

Anyone care to comment from the browser vendors? :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 17 April 2006 16:56:21 UTC

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