Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: third_party/WebKit/Source/core/html/HTMLElement.cpp

Issue 1904403002: Recurse the inner elements only if behavior is DescendToInnerBlocks Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make menuitem non-void Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp
index fd68fa31ba72fa0ed183a71a9b33b27b5f67b11e..963dd944bfea50352f57be43299f1b89f19fa070 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
@@ -119,7 +119,6 @@ bool HTMLElement::ieForbidsInsertHTML() const
|| hasTagName(imgTag)
|| hasTagName(inputTag)
|| hasTagName(linkTag)
- || (RuntimeEnabledFeatures::contextMenuEnabled() && hasTagName(menuitemTag))
|| hasTagName(metaTag)
|| hasTagName(paramTag)
|| hasTagName(sourceTag)

Powered by Google App Engine
This is Rietveld 408576698