Chromium Code Reviews| 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) |