Index: Source/core/html/parser/HTMLTreeBuilder.cpp |
diff --git a/Source/core/html/parser/HTMLTreeBuilder.cpp b/Source/core/html/parser/HTMLTreeBuilder.cpp |
index 69603bbb61ff75eb38cf3113a6588d1924c869bb..466ddbd27b5d9d4bc46b1ab8c0b16996db8bfd34 100644 |
--- a/Source/core/html/parser/HTMLTreeBuilder.cpp |
+++ b/Source/core/html/parser/HTMLTreeBuilder.cpp |
@@ -800,7 +800,8 @@ void HTMLTreeBuilder::processStartTagForInBody(AtomicHTMLToken* token) |
m_framesetOk = false; |
return; |
} |
- if (token->name() == paramTag |
+ if (token->name() == menuitemTag |
+ || token->name() == paramTag |
|| token->name() == sourceTag |
|| token->name() == trackTag) { |
m_tree.insertSelfClosingHTMLElement(token); |