| Index: Source/core/html/parser/HTMLStackItem.h
|
| diff --git a/Source/core/html/parser/HTMLStackItem.h b/Source/core/html/parser/HTMLStackItem.h
|
| index 1aaac2ff0ba4feb11a42c77bd436e43e98bbefc9..014909c9251f96003f294919e05e3cdf70067b6d 100644
|
| --- a/Source/core/html/parser/HTMLStackItem.h
|
| +++ b/Source/core/html/parser/HTMLStackItem.h
|
| @@ -31,6 +31,7 @@
|
| #include "core/SVGNames.h"
|
| #include "core/dom/Element.h"
|
| #include "core/html/parser/AtomicHTMLToken.h"
|
| +#include "platform/RuntimeEnabledFeatures.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/RefPtr.h"
|
| #include "wtf/text/AtomicString.h"
|
| @@ -178,6 +179,7 @@ public:
|
| || tagName == HTMLNames::mainTag
|
| || tagName == HTMLNames::marqueeTag
|
| || tagName == HTMLNames::menuTag
|
| + || (RuntimeEnabledFeatures::contextMenuEnabled() && tagName == HTMLNames::menuitemTag)
|
| || tagName == HTMLNames::metaTag
|
| || tagName == HTMLNames::navTag
|
| || tagName == HTMLNames::noembedTag
|
|
|