Changeset 71147 in webkit
- Timestamp:
- Nov 2, 2010 12:15:19 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r71131 r71147 1 2010-11-02 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 querySelectorAll('body>:last-child') does not work unless HTML file ends with 'new-line'. 6 https://bugs.webkit.org/show_bug.cgi?id=47166 7 8 Test that :last-child works when we end the document in the 9 AfterAfterBody state. 10 11 * fast/parser/pop-all-after-after-body-expected.txt: Added. 12 * fast/parser/pop-all-after-after-body.html: Added. 13 1 14 2010-11-02 Adele Peterson <adele@apple.com> 2 15 -
trunk/WebCore/ChangeLog
r71145 r71147 1 2010-11-02 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 querySelectorAll('body>:last-child') does not work unless HTML file ends with 'new-line'. 6 https://bugs.webkit.org/show_bug.cgi?id=47166 7 8 We need to pop all the open elements when we end the document in the 9 AfterAfterBody state. 10 11 Test: fast/parser/pop-all-after-after-body.html 12 13 * html/parser/HTMLTreeBuilder.cpp: 14 (WebCore::HTMLTreeBuilder::processEndOfFile): 15 1 16 2010-11-02 Patrick Gansterer <paroga@webkit.org> 2 17 -
trunk/WebCore/html/parser/HTMLTreeBuilder.cpp
r70463 r71147 2581 2581 case AfterAfterBodyMode: 2582 2582 ASSERT(insertionMode() == AfterBodyMode || insertionMode() == AfterAfterBodyMode); 2583 return;2583 break; 2584 2584 case InHeadNoscriptMode: 2585 2585 ASSERT(insertionMode() == InHeadNoscriptMode); … … 2603 2603 if (m_tree.currentElement() == m_tree.openElements()->htmlElement()) { 2604 2604 ASSERT(isParsingFragment()); 2605 return; 2605 return; // FIXME: Should we break here instead of returning? 2606 2606 } 2607 2607 if (!processColgroupEndTagForInColumnGroup()) { 2608 2608 ASSERT(isParsingFragment()); 2609 return; 2609 return; // FIXME: Should we break here instead of returning? 2610 2610 } 2611 2611 prepareToReprocessToken();
Note: See TracChangeset
for help on using the changeset viewer.