bug 283459: Only flush tokens after <script> to allow for more chances of inlines containing blocks. r=bzbarsky sr=jst

git-svn-id: svn://10.0.0.236/trunk@169894 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com
2005-02-26 17:53:46 +00:00
parent f372a0485d
commit 52bb9291e2

View File

@@ -843,7 +843,10 @@ nsresult nsHTMLTokenizer::ConsumeStartTag(PRUnichar aChar,
endTagName,
mFlags,
done);
aFlushTokens = done;
// Only flush tokens for <script>, to give oursevles more of a
// chance of allowing inlines to contain blocks.
aFlushTokens = done && theTag == eHTMLTag_script;
}
else if (isPCDATA) {
// Title is consumed conservatively in order to not regress