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

Unified Diff: Source/core/html/parser/HTMLConstructionSite.cpp

Issue 482373002: Catch up ruby and its tag omission rule changes in HTML5 CR Feb 2014 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed TODO. Used HTMLUnknownElement. Created 6 years, 4 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
« no previous file with comments | « Source/core/html/HTMLTagNames.in ('k') | Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLConstructionSite.cpp
diff --git a/Source/core/html/parser/HTMLConstructionSite.cpp b/Source/core/html/parser/HTMLConstructionSite.cpp
index 7c6b27a2cd0da23c5f0bb6ddc259843009996441..e917706e404508585197e974f3bc50e4018ffa3e 100644
--- a/Source/core/html/parser/HTMLConstructionSite.cpp
+++ b/Source/core/html/parser/HTMLConstructionSite.cpp
@@ -73,8 +73,10 @@ static bool hasImpliedEndTag(const HTMLStackItem* item)
|| item->hasTagName(optionTag)
|| item->hasTagName(optgroupTag)
|| item->hasTagName(pTag)
+ || item->hasTagName(rbTag)
|| item->hasTagName(rpTag)
- || item->hasTagName(rtTag);
+ || item->hasTagName(rtTag)
+ || item->hasTagName(rtcTag);
}
static bool shouldUseLengthLimit(const ContainerNode& node)
« no previous file with comments | « Source/core/html/HTMLTagNames.in ('k') | Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698