Changeset 121683 in webkit
- Timestamp:
- Jul 2, 2012 9:08:26 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r121678 r121683 1 2012-07-02 Kwang Yul Seo <skyul@company100.net> 2 3 A start "body" tag in the "in body" insertion mode is a parse error 4 https://bugs.webkit.org/show_bug.cgi?id=90373 5 6 Reviewed by Eric Seidel. 7 8 According to HTML5 specification (http://www.w3.org/TR/html5/tree-construction.html#parsing-main-inbody), 9 a start "body" tag in the "in body" insertion mode is a parse error. So parseError(token) is required here. 10 No behavior change because parseError(token) is just a marker. 11 12 * html/parser/HTMLTreeBuilder.cpp: 13 (WebCore::HTMLTreeBuilder::processStartTagForInBody): 14 1 15 2012-07-02 Raphael Kubo da Costa <rakuco@webkit.org> 2 16 -
trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp
r120938 r121683 752 752 } 753 753 if (token.name() == bodyTag) { 754 parseError(token); 754 755 if (!m_tree.openElements()->secondElementIsHTMLBodyElement() || m_tree.openElements()->hasOnlyOneElement()) { 755 756 ASSERT(isParsingFragment());
Note: See TracChangeset
for help on using the changeset viewer.