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

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

Issue 443373002: Add <menuitem>, new HTMLMenuElement IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed comments Created 6 years, 4 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
« no previous file with comments | « Source/core/events/RelatedEvent.h ('k') | Source/core/html/HTMLMenuElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLElement.cpp
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp
index 27946c5916c246c3fad01ed76b68b23c42353bb5..041571390d1c06175442ff1acafa8f5410bc8275 100644
--- a/Source/core/html/HTMLElement.cpp
+++ b/Source/core/html/HTMLElement.cpp
@@ -102,6 +102,7 @@ bool HTMLElement::ieForbidsInsertHTML() const
|| hasTagName(imgTag)
|| hasTagName(inputTag)
|| hasTagName(linkTag)
+ || (RuntimeEnabledFeatures::contextMenuEnabled() && hasTagName(menuitemTag))
|| hasTagName(metaTag)
|| hasTagName(paramTag)
|| hasTagName(sourceTag)
« no previous file with comments | « Source/core/events/RelatedEvent.h ('k') | Source/core/html/HTMLMenuElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698