Changeset 62624 in webkit
- Timestamp:
- Jul 6, 2010 10:08:59 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r62623 r62624 1 2010-07-06 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Implement start table tag in table mode 6 https://bugs.webkit.org/show_bug.cgi?id=41736 7 8 * html5lib/runner-expected-html5.txt: 9 1 10 2010-07-06 Eric Seidel <eric@webkit.org> 2 11 -
trunk/LayoutTests/html5lib/runner-expected-html5.txt
r62623 r62624 556 556 30 557 557 37 558 42559 558 44 560 559 45 … … 719 718 Expected: 720 719 | <tr> 721 722 Test 42 of 51 in resources/tests6.dat failed. Input:723 <table><table>724 Got:725 | <html>726 | <head>727 | <body>728 | <table>729 Expected:730 | <html>731 | <head>732 | <body>733 | <table>734 | <table>735 720 736 721 Test 44 of 51 in resources/tests6.dat failed. Input: … … 1178 1163 | <body> 1179 1164 | "x" 1165 | <table> 1180 1166 | <table> 1181 1167 | "x" … … 3582 3568 resources/tables01.dat: 3583 3569 4 3584 83585 3570 3586 3571 Test 4 of 15 in resources/tables01.dat failed. Input: … … 3600 3585 | <table> 3601 3586 | <colgroup> 3602 3603 Test 8 of 15 in resources/tables01.dat failed. Input:3604 <table><select><table></table></select></table>3605 Got:3606 | <html>3607 | <head>3608 | <body>3609 | <select>3610 | <table>3611 Expected:3612 | <html>3613 | <head>3614 | <body>3615 | <select>3616 | <table>3617 | <table>3618 3587 #EOF -
trunk/WebCore/ChangeLog
r62623 r62624 12 12 * html/HTMLTreeBuilder.cpp: 13 13 (WebCore::HTMLTreeBuilder::processStartTagForInBody): 14 15 2010-07-06 Adam Barth <abarth@webkit.org> 16 17 Reviewed by Eric Seidel. 18 19 Implement start table tag in table mode 20 https://bugs.webkit.org/show_bug.cgi?id=41736 21 22 * html/HTMLTreeBuilder.cpp: 23 (WebCore::HTMLTreeBuilder::processStartTagForInTable): 24 (WebCore::HTMLTreeBuilder::processTableEndTagForInTable): 25 (WebCore::HTMLTreeBuilder::processEndTagForInTable): 26 * html/HTMLTreeBuilder.h: 14 27 15 28 2010-07-06 Adam Barth <abarth@webkit.org> -
trunk/WebCore/html/HTMLTreeBuilder.cpp
r62623 r62624 853 853 } 854 854 if (token.name() == tableTag) { 855 notImplemented(); 855 parseError(token); 856 if (!processTableEndTagForInTable()) { 857 ASSERT(m_isParsingFragment); 858 return; 859 } 860 processStartTag(token); 856 861 return; 857 862 } … … 1571 1576 } 1572 1577 1578 bool HTMLTreeBuilder::processTableEndTagForInTable() 1579 { 1580 if (!m_tree.openElements()->inTableScope(tableTag)) { 1581 ASSERT(m_isParsingFragment); 1582 // FIXME: parse error. 1583 return false; 1584 } 1585 m_tree.openElements()->popUntil(tableTag.localName()); 1586 m_tree.openElements()->pop(); 1587 resetInsertionModeAppropriately(); 1588 return true; 1589 } 1590 1573 1591 void HTMLTreeBuilder::processEndTagForInTable(AtomicHTMLToken& token) 1574 1592 { 1575 1593 ASSERT(token.type() == HTMLToken::EndTag); 1576 1594 if (token.name() == tableTag) { 1577 if (!m_tree.openElements()->inTableScope(token.name())) { 1578 ASSERT(m_isParsingFragment); 1579 parseError(token); 1580 return; 1581 } 1582 m_tree.openElements()->popUntil(tableTag.localName()); 1583 m_tree.openElements()->pop(); 1584 resetInsertionModeAppropriately(); 1595 processTableEndTagForInTable(); 1585 1596 return; 1586 1597 } -
trunk/WebCore/html/HTMLTreeBuilder.h
r62621 r62624 123 123 void processIsindexStartTagForInBody(AtomicHTMLToken&); 124 124 bool processBodyEndTagForInBody(AtomicHTMLToken&); 125 bool processTableEndTagForInTable(); 125 126 bool processCaptionEndTagForInCaption(); 126 127 bool processColgroupEndTagForInColumnGroup();
Note: See TracChangeset
for help on using the changeset viewer.