Changeset 103005 in webkit
- Timestamp:
- Dec 15, 2011, 5:19:44 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r103000 r103005 1 2011-12-15 Adam Barth <abarth@webkit.org> 2 3 <ruby><div><p><rp> parses incorrectly 4 https://bugs.webkit.org/show_bug.cgi?id=74668 5 6 Reviewed by Darin Adler. 7 8 Update test results to show progression. 9 10 * html5lib/runner-expected.txt: 11 * platform/chromium/html5lib/runner-expected.txt: 12 1 13 2011-12-15 Adam Barth <abarth@webkit.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r103004 r103005 1 2011-12-15 Adam Barth <abarth@webkit.org> 2 3 <ruby><div><p><rp> parses incorrectly 4 https://bugs.webkit.org/show_bug.cgi?id=74668 5 6 Reviewed by Darin Adler. 7 8 This patch updates our implementation to match a change to the HTML5 9 specification regarding how <ruby> elements parse. Previously, <rp> 10 and similar tags used to pop the stack up to the <ruby> element. Now 11 the popping does not occur. 12 13 Tests: html5lib/runner.html 14 15 * html/parser/HTMLTreeBuilder.cpp: 16 1 17 2011-12-15 Daniel Sievers <sievers@chromium.org> 2 18 -
trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp
r103000 r103005 1001 1001 if (m_tree.openElements()->inScope(rubyTag.localName())) { 1002 1002 m_tree.generateImpliedEndTags(); 1003 if (!m_tree.currentNode()->hasTagName(rubyTag)) {1003 if (!m_tree.currentNode()->hasTagName(rubyTag)) 1004 1004 parseError(token); 1005 m_tree.openElements()->popUntil(rubyTag.localName());1006 }1007 1005 } 1008 1006 m_tree.insertHTMLElement(token);
Note:
See TracChangeset
for help on using the changeset viewer.