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

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

Issue 1967493002: Serializing <keygen> and <track> should not generate end tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated test Created 4 years, 7 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 fd68fa31ba72fa0ed183a71a9b33b27b5f67b11e..45166c149b7157d54e827dbefe7bb16559384195 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
@@ -118,11 +118,13 @@ bool HTMLElement::ieForbidsInsertHTML() const
|| hasTagName(imageTag)
|| hasTagName(imgTag)
|| hasTagName(inputTag)
+ || hasTagName(keygenTag)
|| hasTagName(linkTag)
|| (RuntimeEnabledFeatures::contextMenuEnabled() && hasTagName(menuitemTag))
|| hasTagName(metaTag)
|| hasTagName(paramTag)
|| hasTagName(sourceTag)
+ || hasTagName(trackTag)
|| hasTagName(wbrTag))
return true;
return false;
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/serializing-xml-fragments/outerHTML-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698