[Webkit-unassigned] [Bug 3905] Missing </title> makes page blank

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Feb 25 08:07:09 PST 2006


ddkilzer at kilzer.net changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED

------- Comment #8 from ddkilzer at kilzer.net  2006-02-25 08:07 PDT -------
(In reply to comment #7)
> Basically, what happens is that you parse the contents of <title> in a special
> tokeniser mode (treating < characters as characters, not tag starts), and then
> if you get to the end of the document without seeing a </title>, then you go
> all the way back to the <title>, and parse it again, as if it was a normal
> element with no special tokenisation, and the next start tag or end tag is
> where you close the <title> element.

The above method is the way Firefox handles this case.  MSIE 6
currently handles it like Safari does now:  it reads the rest of the document
as if it were the title #text, never finding the </title> tag, then just stops

I have a patch for this that works.  I just need to make sure the state of the
tokenizer is reset properly when backing up and reparsing after initially
consuming the rest of the document.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list