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

Simon Pieters zcorpan at hotmail.com
Sun Apr 16 06:46:53 PDT 2006


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 

[1] http://whatwg.org/specs/web-apps/current-work/#data-state

Simon Pieters

More information about the whatwg mailing list