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

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

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/HTMLElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp
index 07da4944594042a3b1ce781fe8e9053a02b39fa3..9808d052dfb2b62ac927f1fd4c252820a49e5ca0 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
@@ -144,9 +144,8 @@ bool HTMLElement::ShouldSerializeEndTag() const {
HasTagName(bgsoundTag) || HasTagName(brTag) || HasTagName(colTag) ||
HasTagName(embedTag) || HasTagName(frameTag) || HasTagName(hrTag) ||
HasTagName(imgTag) || HasTagName(inputTag) || HasTagName(keygenTag) ||
- HasTagName(linkTag) || HasTagName(menuitemTag) || HasTagName(metaTag) ||
- HasTagName(paramTag) || HasTagName(sourceTag) || HasTagName(trackTag) ||
- HasTagName(wbrTag))
+ HasTagName(linkTag) || HasTagName(metaTag) || HasTagName(paramTag) ||
+ HasTagName(sourceTag) || HasTagName(trackTag) || HasTagName(wbrTag))
return false;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698