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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user