Changeset 62500 in webkit
- Timestamp:
- Jul 5, 2010 1:03:45 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r62499 r62500 1 2010-07-05 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Add basic <col> support to the treebuilder 6 https://bugs.webkit.org/show_bug.cgi?id=41590 7 8 Test the new <col> support. Turns out the old treebuilder doesn't 9 handle <table><col> correctly. 10 11 * html5lib/resources/tables01.dat: 12 * html5lib/runner-expected-html5.txt: 13 * html5lib/runner-expected.txt: 14 1 15 2010-07-05 Eric Seidel <eric@webkit.org> 2 16 -
trunk/LayoutTests/html5lib/resources/tables01.dat
r62499 r62500 22 22 | <tr> 23 23 | <td> 24 25 #data 26 <table><col foo='bar'> 27 #errors 28 #document 29 | <html> 30 | <head> 31 | <body> 32 | <table> 33 | <colgroup> 34 | <col> 35 | foo="bar" 36 37 #data 38 <table><colgroup></html>foo 39 #errors 40 #document 41 | <html> 42 | <head> 43 | <body> 44 | "foo" 45 | <table> 46 | <colgroup> -
trunk/LayoutTests/html5lib/runner-expected-html5.txt
r62499 r62500 1356 1356 | <table> 1357 1357 | <colgroup> 1358 | <col> 1359 | <col> 1360 | <col> 1361 | <col> 1362 | <col> 1363 | <col> 1358 1364 Expected: 1359 1365 | <html> … … 1381 1387 | <body> 1382 1388 | <table> 1383 | <tbody> 1384 | <tr> 1385 | <td> 1389 | <colgroup> 1390 | <col> 1391 | <col> 1392 | <col> 1393 | <col> 1394 | <col> 1386 1395 Expected: 1387 1396 | <html> … … 5629 5638 resources/inbody01.dat: PASS 5630 5639 5631 resources/tables01.dat: PASS 5640 resources/tables01.dat: 5641 4 5642 5643 Test 4 of 4 in resources/tables01.dat failed. Input: 5644 <table><colgroup></html>foo 5645 Got: 5646 | <html> 5647 | <head> 5648 | <body> 5649 | <table> 5650 | <colgroup> 5651 Expected: 5652 | <html> 5653 | <head> 5654 | <body> 5655 | "foo" 5656 | <table> 5657 | <colgroup> 5632 5658 #EOF -
trunk/LayoutTests/html5lib/runner-expected.txt
r62499 r62500 4938 4938 resources/inbody01.dat: PASS 4939 4939 4940 resources/tables01.dat: PASS 4940 resources/tables01.dat: 4941 3 4942 4943 Test 3 of 4 in resources/tables01.dat failed. Input: 4944 <table><col foo='bar'> 4945 Got: 4946 | <html> 4947 | <head> 4948 | <body> 4949 | <table> 4950 | <col> 4951 | foo="bar" 4952 Expected: 4953 | <html> 4954 | <head> 4955 | <body> 4956 | <table> 4957 | <colgroup> 4958 | <col> 4959 | foo="bar" -
trunk/WebCore/ChangeLog
r62499 r62500 1 2010-07-05 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Add basic <col> support to the treebuilder 6 https://bugs.webkit.org/show_bug.cgi?id=41590 7 8 * html/HTMLTreeBuilder.cpp: 9 (WebCore::HTMLTreeBuilder::processStartTag): 10 1 11 2010-07-05 Eric Seidel <eric@webkit.org> 2 12 -
trunk/WebCore/html/HTMLTreeBuilder.cpp
r62499 r62500 747 747 } 748 748 if (token.name() == colTag) { 749 notImplemented(); 749 AtomicHTMLToken fakeToken(HTMLToken::StartTag, colgroupTag.localName()); 750 processStartTag(fakeToken); 751 ASSERT(InColumnGroupMode); 752 processStartTag(token); 750 753 return; 751 754 } … … 783 786 } 784 787 parseError(token); 788 notImplemented(); 789 break; 790 case InColumnGroupMode: 791 if (token.name() == htmlTag) { 792 insertHTMLStartTagInBody(token); 793 return; 794 } 795 if (token.name() == colTag) { 796 insertSelfClosingElement(token); 797 return; 798 } 785 799 notImplemented(); 786 800 break;
Note: See TracChangeset
for help on using the changeset viewer.