Bug 531373 - Script between head and body is not executed by HTML5 parser. rs=sicking.

This commit is contained in:
Henri Sivonen
2009-12-10 16:27:48 -08:00
parent f57f07eb4b
commit 0f87ffbad4
2 changed files with 32 additions and 9 deletions

View File

@@ -131,6 +131,7 @@ class nsHtml5TreeBuilder : public nsAHtml5TreeBuilderState
PRBool clearLastStackSlot();
PRBool clearLastListSlot();
void push(nsHtml5StackNode* node);
void silentPush(nsHtml5StackNode* node);
void append(nsHtml5StackNode* node);
inline void insertMarker()
{
@@ -160,6 +161,7 @@ class nsHtml5TreeBuilder : public nsAHtml5TreeBuilderState
void insertIntoFosterParent(nsIContent** child);
PRBool isInStack(nsHtml5StackNode* node);
void pop();
void silentPop();
void popOnEof();
void appendHtmlElementToDocumentAndPush(nsHtml5HtmlAttributes* attributes);
void appendHtmlElementToDocumentAndPush();