Bug 617528 Part 2 - Core implementation r=smaug

This commit is contained in:
Jan Varga
2011-08-08 19:31:32 +02:00
parent 2b91286805
commit a76cfe8db7
54 changed files with 2363 additions and 89 deletions

View File

@@ -544,7 +544,8 @@ nsHtml5TreeBuilder::elementPopped(PRInt32 aNamespace, nsIAtom* aName, nsIContent
return;
}
if (aName == nsHtml5Atoms::input ||
aName == nsHtml5Atoms::button) {
aName == nsHtml5Atoms::button ||
aName == nsHtml5Atoms::menuitem) {
if (!formPointer) {
// If form inputs don't belong to a form, their state preservation
// won't work right without an append notification flush at this