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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLStackItem.h

Issue 2819773002: Change <menuitem> parsing rules to match spec (Closed)
Patch Set: Fix affected layout test Created 3 years, 8 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/parser/HTMLStackItem.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLStackItem.h b/third_party/WebKit/Source/core/html/parser/HTMLStackItem.h
index 5e9210ab4c080e10d12ecd985542d2e9be3f2e0a..97b2812dabd1d8cfd2301b2347c648045eae851d 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLStackItem.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLStackItem.h
@@ -160,8 +160,6 @@ class HTMLStackItem : public GarbageCollectedFinalized<HTMLStackItem> {
tag_name == HTMLNames::mainTag ||
tag_name == HTMLNames::marqueeTag ||
tag_name == HTMLNames::menuTag ||
- (RuntimeEnabledFeatures::contextMenuEnabled() &&
- tag_name == HTMLNames::menuitemTag) ||
tag_name == HTMLNames::metaTag || tag_name == HTMLNames::navTag ||
tag_name == HTMLNames::noembedTag ||
tag_name == HTMLNames::noframesTag ||
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.cpp ('k') | third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698