Chromium Code Reviews| 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) |
|
tkent
2014/08/11 10:23:01
Could you explain what part of the specification b
pals
2014/08/11 11:27:20
Specification:
http://www.whatwg.org/specs/web-app
tkent
2014/08/11 13:36:57
Unfortunately URLs are broken. Please write expla
pals
2014/08/11 14:07:08
sorry, I copied the text of my previous comment wh
|
| || tagName == HTMLNames::metaTag |
| || tagName == HTMLNames::navTag |
| || tagName == HTMLNames::noembedTag |