Back-out of fix for bug 123899 (document.body.innerHTML is broken). This caused bug 132673 and a bunch of duplicates. Tp might go up slightly but that's just because we stop dropping some content.

This commit is contained in:
peterv%netscape.com 2002-03-26 11:15:15 +00:00
Родитель 3d306c1761
Коммит 0be7406b7a
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -4931,7 +4931,7 @@ HTMLContentSink::PreEvaluateScript()
// to the body (so that they can be seen by scripts) and force reflow.
SINK_TRACE(SINK_TRACE_CALLS,
("HTMLContentSink::PreEvaluateScript: flushing tags before evaluating script"));
FlushPendingNotifications();
mCurrentContext->FlushTags(PR_FALSE);
mCurrentContext->SetPreAppend(PR_TRUE);
mInScript++;
@ -4943,8 +4943,6 @@ HTMLContentSink::PostEvaluateScript()
{
mInScript--;
mCurrentContext->SetPreAppend(PR_FALSE);
// Take into account the content that script evaluation might have added.
mCurrentContext->UpdateChildCounts();
}
PRBool