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

Ian Hickson ian at hixie.ch
Mon Apr 17 16:56:21 PDT 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list