[Webkit-unassigned] [Bug 19680] cvs.com - the footer content is displayed over main content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 30 18:27:11 PDT 2008


------- Comment #4 from yael.aharon at nokia.com  2008-06-30 18:27 PDT -------
The root cause of this problem is that when we have an external script that
generates another script with document.write and the closing tag of the inline
script is on the same line as more content, we process the document.write out
of order.
The HtmlTokenizer keeps the remaining src as currentPrependingSrc and does not
process it until later. This out of order processing is causing the problem.

The offending line is 
document.write('</script><table border="0" cellpadding="0" cellspacing="0"
width="443"><tr><td align="left">');

If we split this line into 2 separate document.write statements, everything
works fine.

I added an attachment of a very simple page where the content is processed in
the wrong order.

Configure bugmail: https://bugs.webkit.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