Changeset 62621 in webkit
- Timestamp:
- Jul 6, 2010 9:43:06 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r62619 r62621 1 2010-07-06 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Implement "act as if the banana has been peeled" (for lack of a better term) 6 https://bugs.webkit.org/show_bug.cgi?id=41734 7 8 Massive test progression. 9 10 * html5lib/runner-expected-html5.txt: 11 1 12 2010-07-06 Kent Tamura <tkent@chromium.org> 2 13 -
trunk/LayoutTests/html5lib/runner-expected-html5.txt
r62618 r62621 12 12 79 13 13 80 14 9015 14 103 16 11217 15 18 16 Test 30 of 113 in resources/tests1.dat failed. Input: … … 23 21 | <body> 24 22 | <a> 23 | <a> 25 24 | <table> 26 25 | <tbody> … … 30 29 | <table> 31 30 | <a> 32 | <a>33 31 | <a> 34 32 | <b> … … 67 65 | <div> 68 66 | "hello" 67 | <b> 68 | "me!" 69 69 | <table> 70 70 | "excite!" 71 | <b>72 | "me!"73 71 | <tbody> 74 72 | <tr> … … 150 148 | href="blah" 151 149 | "aba" 150 | <a> 151 | href="foo" 152 | "br" 152 153 | <table> 153 | <a>154 | href="foo"155 | "br"156 154 | <tbody> 157 155 | <tr> … … 220 218 | <head> 221 219 | <body> 222 | < table>223 | <a>224 | href="blah"225 | "aba"220 | <a> 221 | href="blah" 222 | "aba" 223 | <table> 226 224 | <tbody> 227 225 | <tr> … … 253 251 | "aoe" 254 252 255 Test 90 of 113 in resources/tests1.dat failed. Input: 256 <a><table><a></table><p><a><div><a> 257 Got: 258 | <html> 259 | <head> 260 | <body> 261 | <a> 262 | <table> 263 | <a> 264 | <p> 265 | <a> 266 | <div> 267 | <a> 268 Expected: 253 Test 103 of 113 in resources/tests1.dat failed. Input: 254 <a><table><td><a><table></table><a></tr><a></table><a> 255 Got: 269 256 | <html> 270 257 | <head> … … 272 259 | <a> 273 260 | <a> 274 | <table>275 | <p>276 | <a>277 | <div>278 | <a>279 280 Test 103 of 113 in resources/tests1.dat failed. Input:281 <a><table><td><a><table></table><a></tr><a></table><a>282 Got:283 | <html>284 | <head>285 | <body>286 | <a>287 261 | <table> 288 262 | <tbody> … … 292 266 | <table> 293 267 | <a> 294 | <a>295 268 | <a> 296 269 Expected: … … 308 281 | <a> 309 282 | <a> 310 311 Test 112 of 113 in resources/tests1.dat failed. Input:312 <table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>313 Got:314 | <html>315 | <head>316 | <body>317 | <table>318 | <tbody>319 | <tr>320 | <br>321 | <p>322 Expected:323 | <html>324 | <head>325 | <body>326 | <br>327 | <table>328 | <tbody>329 | <tr>330 | <p>331 283 resources/tests2.dat: 332 11333 284 13 334 285 47 335 286 48 336 287 49 337 338 Test 11 of 59 in resources/tests2.dat failed. Input:339 <table><plaintext><td>340 Got:341 | <html>342 | <head>343 | <body>344 | <table>345 | <plaintext>346 | "<td>"347 Expected:348 | <html>349 | <head>350 | <body>351 | <plaintext>352 | "<td>"353 | <table>354 288 355 289 Test 13 of 59 in resources/tests2.dat failed. Input: … … 661 595 27 662 596 30 663 33664 36665 597 37 666 598 42 … … 816 748 | <frame> 817 749 818 Test 33 of 51 in resources/tests6.dat failed. Input:819 <table><tr><div>820 Got:821 | <html>822 | <head>823 | <body>824 | <table>825 | <tbody>826 | <tr>827 | <div>828 Expected:829 | <html>830 | <head>831 | <body>832 | <div>833 | <table>834 | <tbody>835 | <tr>836 837 Test 36 of 51 in resources/tests6.dat failed. Input:838 <table><tr><div><td>839 Got:840 | <html>841 | <head>842 | <body>843 | <table>844 | <tbody>845 | <tr>846 | <div>847 | <td>848 Expected:849 | <html>850 | <head>851 | <body>852 | <div>853 | <table>854 | <tbody>855 | <tr>856 | <td>857 858 750 Test 37 of 51 in resources/tests6.dat failed. Input: 859 751 <caption><col><colgroup><tbody><tfoot><thead><tr> … … 923 815 | <body> 924 816 resources/tests7.dat: 925 2926 5927 817 6 928 818 7 … … 933 823 18 934 824 19 935 20936 825 24 937 826 27 … … 940 829 30 941 830 942 Test 2 of 30 in resources/tests7.dat failed. Input:943 <!doctype html><table><title>X</title></table>944 Got:945 | <!DOCTYPE html>946 | <html>947 | <head>948 | <body>949 | <table>950 | <title>951 | "X"952 Expected:953 | <!DOCTYPE html>954 | <html>955 | <head>956 | <body>957 | <title>958 | "X"959 | <table>960 961 Test 5 of 30 in resources/tests7.dat failed. Input:962 <!doctype html><table><meta></table>963 Got:964 | <!DOCTYPE html>965 | <html>966 | <head>967 | <body>968 | <table>969 | <meta>970 Expected:971 | <!DOCTYPE html>972 | <html>973 | <head>974 | <body>975 | <meta>976 | <table>977 978 831 Test 6 of 30 in resources/tests7.dat failed. Input: 979 832 <!doctype html><table>X<tr><td><table> <meta></table></table> … … 985 838 | <table> 986 839 | "X" 987 | <tbody>988 | <tr>989 | <td>990 | <table>991 | " "992 | <meta>993 Expected:994 | <!DOCTYPE html>995 | <html>996 | <head>997 | <body>998 | "X"999 | <table>1000 840 | <tbody> 1001 841 | <tr> … … 1004 844 | <table> 1005 845 | " " 846 Expected: 847 | <!DOCTYPE html> 848 | <html> 849 | <head> 850 | <body> 851 | "X" 852 | <table> 853 | <tbody> 854 | <tr> 855 | <td> 856 | <meta> 857 | <table> 858 | " " 1006 859 1007 860 Test 7 of 30 in resources/tests7.dat failed. Input: … … 1126 979 | type="hidDEN" 1127 980 1128 Test 20 of 30 in resources/tests7.dat failed. Input:1129 <!doctype html><table><select>X<tr>1130 Got:1131 | <!DOCTYPE html>1132 | <html>1133 | <head>1134 | <body>1135 | <table>1136 | <select>1137 | "X"1138 | <tbody>1139 | <tr>1140 Expected:1141 | <!DOCTYPE html>1142 | <html>1143 | <head>1144 | <body>1145 | <select>1146 | "X"1147 | <table>1148 | <tbody>1149 | <tr>1150 1151 981 Test 24 of 30 in resources/tests7.dat failed. Input: 1152 982 <body>X</body></body> … … 1164 994 | <head> 1165 995 | <body> 1166 | < table>1167 | <b>996 | <b> 997 | <table> 1168 998 | <tbody> 1169 999 | <tr> … … 1350 1180 | <head> 1351 1181 | <body> 1352 | <table> 1182 | <div> 1183 | "x" 1353 1184 | <div> 1354 | "x" 1355 | <div> 1185 | <table> 1356 1186 | "xx" 1357 1187 Expected: … … 1412 1242 14 1413 1243 15 1414 171415 1244 18 1416 1245 19 … … 1457 1286 | <head> 1458 1287 | <body> 1459 | < table>1460 | <math>1288 | <math> 1289 | <table> 1461 1290 Expected: 1462 1291 | <!DOCTYPE html> … … 1474 1303 | <head> 1475 1304 | <body> 1476 | < table>1477 | <m ath>1478 | <mi>1479 | "foo"1305 | <math> 1306 | <mi> 1307 | "foo" 1308 | <table> 1480 1309 Expected: 1481 1310 | <!DOCTYPE html> … … 1495 1324 | <head> 1496 1325 | <body> 1497 | < table>1498 | <m ath>1499 | <mi>1500 | "foo"1501 | <mi>1502 | "bar"1326 | <math> 1327 | <mi> 1328 | "foo" 1329 | <mi> 1330 | "bar" 1331 | <table> 1503 1332 Expected: 1504 1333 | <!DOCTYPE html> … … 1520 1349 | <head> 1521 1350 | <body> 1351 | <math> 1352 | <mi> 1353 | "foo" 1354 | <mi> 1355 | "bar" 1522 1356 | <table> 1523 1357 | <tbody> 1524 | <math>1525 | <mi>1526 | "foo"1527 | <mi>1528 | "bar"1529 1358 Expected: 1530 1359 | <!DOCTYPE html> … … 1547 1376 | <head> 1548 1377 | <body> 1378 | <math> 1379 | <mi> 1380 | "foo" 1381 | <mi> 1382 | "bar" 1549 1383 | <table> 1550 1384 | <tbody> 1551 1385 | <tr> 1552 | <math>1553 | <mi>1554 | "foo"1555 | <mi>1556 | "bar"1557 1386 Expected: 1558 1387 | <!DOCTYPE html> … … 1741 1570 | <head> 1742 1571 | <body> 1572 | <math> 1573 | <mi> 1574 | "foo" 1575 | <mi> 1576 | "bar" 1577 | <p> 1578 | "baz" 1743 1579 | <table> 1744 1580 | <colgroup> 1745 | <math>1746 | <mi>1747 | "foo"1748 | <mi>1749 | "bar"1750 | <p>1751 | "baz"1752 1581 | <p> 1753 1582 | "quux" … … 1766 1595 | <table> 1767 1596 | <colgroup> 1768 | <p>1769 | "quux"1770 1771 Test 17 of 25 in resources/tests9.dat failed. Input:1772 <!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux1773 Got:1774 | <!DOCTYPE html>1775 | <html>1776 | <head>1777 | <body>1778 | <table>1779 | <select>1780 | "foobarbaz"1781 | <p>1782 | "quux"1783 Expected:1784 | <!DOCTYPE html>1785 | <html>1786 | <head>1787 | <body>1788 | <select>1789 | "foobarbaz"1790 | <table>1791 1597 | <p> 1792 1598 | "quux" … … 1955 1761 14 1956 1762 15 1957 171958 1763 18 1959 1764 19 … … 2000 1805 | <head> 2001 1806 | <body> 2002 | < table>2003 | <svg>1807 | <svg> 1808 | <table> 2004 1809 Expected: 2005 1810 | <!DOCTYPE html> … … 2017 1822 | <head> 2018 1823 | <body> 2019 | < table>2020 | < svg>2021 | <g>2022 | "foo"1824 | <svg> 1825 | <g> 1826 | "foo" 1827 | <table> 2023 1828 Expected: 2024 1829 | <!DOCTYPE html> … … 2038 1843 | <head> 2039 1844 | <body> 2040 | < table>2041 | < svg>2042 | <g>2043 | "foo"2044 | <g>2045 | "bar"1845 | <svg> 1846 | <g> 1847 | "foo" 1848 | <g> 1849 | "bar" 1850 | <table> 2046 1851 Expected: 2047 1852 | <!DOCTYPE html> … … 2063 1868 | <head> 2064 1869 | <body> 1870 | <svg> 1871 | <g> 1872 | "foo" 1873 | <g> 1874 | "bar" 2065 1875 | <table> 2066 1876 | <tbody> 2067 | <svg>2068 | <g>2069 | "foo"2070 | <g>2071 | "bar"2072 1877 Expected: 2073 1878 | <!DOCTYPE html> … … 2090 1895 | <head> 2091 1896 | <body> 1897 | <svg> 1898 | <g> 1899 | "foo" 1900 | <g> 1901 | "bar" 2092 1902 | <table> 2093 1903 | <tbody> 2094 1904 | <tr> 2095 | <svg>2096 | <g>2097 | "foo"2098 | <g>2099 | "bar"2100 1905 Expected: 2101 1906 | <!DOCTYPE html> … … 2284 2089 | <head> 2285 2090 | <body> 2091 | <svg> 2092 | <g> 2093 | "foo" 2094 | <g> 2095 | "bar" 2096 | <p> 2097 | "baz" 2286 2098 | <table> 2287 2099 | <colgroup> 2288 | <svg>2289 | <g>2290 | "foo"2291 | <g>2292 | "bar"2293 | <p>2294 | "baz"2295 2100 | <p> 2296 2101 | "quux" … … 2309 2114 | <table> 2310 2115 | <colgroup> 2311 | <p>2312 | "quux"2313 2314 Test 17 of 25 in resources/tests10.dat failed. Input:2315 <!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux2316 Got:2317 | <!DOCTYPE html>2318 | <html>2319 | <head>2320 | <body>2321 | <table>2322 | <select>2323 | "foobarbaz"2324 | <p>2325 | "quux"2326 Expected:2327 | <!DOCTYPE html>2328 | <html>2329 | <head>2330 | <body>2331 | <select>2332 | "foobarbaz"2333 | <table>2334 2116 | <p> 2335 2117 | "quux" … … 3545 3327 10 3546 3328 11 3547 123548 3329 3549 3330 Test 1 of 14 in resources/tests15.dat failed. Input: … … 3628 3409 | <head> 3629 3410 | <body> 3411 | <meta> 3630 3412 | <table> 3631 3413 | " X" 3632 | <meta>3633 3414 Expected: 3634 3415 | <!DOCTYPE html> … … 3717 3498 | " <tr>x " 3718 3499 | " " 3719 3720 Test 12 of 14 in resources/tests15.dat failed. Input:3721 <!doctype html><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div>3722 Got:3723 | <!DOCTYPE html>3724 | <html>3725 | <head>3726 | <body>3727 | <div>3728 | <table>3729 | <a>3730 | "foo"3731 | " "3732 | <tbody>3733 | <tr>3734 | <td>3735 | "bar"3736 | " "3737 Expected:3738 | <!DOCTYPE html>3739 | <html>3740 | <head>3741 | <body>3742 | <div>3743 | <a>3744 | "foo"3745 | <table>3746 | " "3747 | <tbody>3748 | <tr>3749 | <td>3750 | "bar"3751 | " "3752 3500 resources/tests16.dat: PASS 3753 3501 … … 3795 3543 4 3796 3544 5 3797 63798 3545 3799 3546 Test 3 of 9 in resources/adoption01.dat failed. Input: … … 3869 3616 | "4" 3870 3617 | "5" 3871 3872 Test 6 of 9 in resources/adoption01.dat failed. Input:3873 <table><a>1<p>2</a>3</p>3874 Got:3875 | <html>3876 | <head>3877 | <body>3878 | <p>3879 | <a>3880 | "2"3881 | "3"3882 | <table>3883 | <a>3884 | "1"3885 Expected:3886 | <html>3887 | <head>3888 | <body>3889 | <a>3890 | "1"3891 | <p>3892 | <a>3893 | "2"3894 | "3"3895 | <table>3896 3618 resources/inbody01.dat: PASS 3897 3619 … … 3900 3622 resources/tables01.dat: 3901 3623 4 3902 73903 3624 8 3904 93905 103906 3625 3907 3626 Test 4 of 15 in resources/tables01.dat failed. Input: … … 3922 3641 | <colgroup> 3923 3642 3924 Test 7 of 15 in resources/tables01.dat failed. Input:3925 <table><select><option>3</select></table>3926 Got:3927 | <html>3928 | <head>3929 | <body>3930 | <table>3931 | <select>3932 | <option>3933 | "3"3934 Expected:3935 | <html>3936 | <head>3937 | <body>3938 | <select>3939 | <option>3940 | "3"3941 | <table>3942 3943 3643 Test 8 of 15 in resources/tables01.dat failed. Input: 3944 3644 <table><select><table></table></select></table> … … 3947 3647 | <head> 3948 3648 | <body> 3949 | <table>3950 | <select>3951 Expected:3952 | <html>3953 | <head>3954 | <body>3955 3649 | <select> 3956 3650 | <table> 3957 | <table>3958 3959 Test 9 of 15 in resources/tables01.dat failed. Input:3960 <table><select></table>3961 Got:3962 | <html>3963 | <head>3964 | <body>3965 | <table>3966 | <select>3967 3651 Expected: 3968 3652 | <html> … … 3971 3655 | <select> 3972 3656 | <table> 3973 3974 Test 10 of 15 in resources/tables01.dat failed. Input: 3975 <table><select><option>A<tr><td>B</td></tr></table> 3976 Got: 3977 | <html> 3978 | <head> 3979 | <body> 3980 | <table> 3981 | <select> 3982 | <option> 3983 | "A" 3984 | <tbody> 3985 | <tr> 3986 | <td> 3987 | "B" 3988 Expected: 3989 | <html> 3990 | <head> 3991 | <body> 3992 | <select> 3993 | <option> 3994 | "A" 3995 | <table> 3996 | <tbody> 3997 | <tr> 3998 | <td> 3999 | "B" 3657 | <table> 4000 3658 #EOF -
trunk/WebCore/ChangeLog
r62618 r62621 1 2010-07-06 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Implement "act as if the banana has been peeled" (for lack of a better term) 6 https://bugs.webkit.org/show_bug.cgi?id=41734 7 8 The spec has a tricky passage that says "whenever a node would be 9 inserted into the current node, it must instead be foster parented." 10 This patch attempts to implement that requirement. 11 12 * html/HTMLConstructionSite.cpp: 13 (WebCore::HTMLConstructionSite::attach): 14 (WebCore::HTMLConstructionSite::HTMLConstructionSite): 15 (WebCore::HTMLConstructionSite::insertHTMLHtmlElement): 16 (WebCore::HTMLConstructionSite::insertHTMLHeadElement): 17 (WebCore::HTMLConstructionSite::insertHTMLBodyElement): 18 (WebCore::HTMLConstructionSite::insertScriptElement): 19 (WebCore::HTMLConstructionSite::fosterParent): 20 * html/HTMLConstructionSite.h: 21 (WebCore::HTMLConstructionSite::RedirectToFosterParentGuard::RedirectToFosterParentGuard): 22 (WebCore::HTMLConstructionSite::RedirectToFosterParentGuard::~RedirectToFosterParentGuard): 23 * html/HTMLTreeBuilder.cpp: 24 (WebCore::HTMLTreeBuilder::processStartTagForInTable): 25 (WebCore::HTMLTreeBuilder::processEndTagForInTable): 26 * html/HTMLTreeBuilder.h: 27 1 28 2010-07-06 Eric Seidel <eric@webkit.org> 2 29 -
trunk/WebCore/html/HTMLConstructionSite.cpp
r62611 r62621 78 78 { 79 79 RefPtr<ChildType> child = prpChild; 80 81 if (m_redirectAttachToFosterParent) { 82 fosterParent(child.get()); 83 return child.release(); 84 } 85 80 86 parent->parserAddChild(child); 81 87 // It's slightly unfortunate that we need to hold a reference to child … … 91 97 : m_document(document) 92 98 , m_fragmentScriptingPermission(scriptingPermission) 99 , m_redirectAttachToFosterParent(false) 93 100 { 94 101 } … … 167 174 void HTMLConstructionSite::insertHTMLHtmlElement(AtomicHTMLToken& token) 168 175 { 176 ASSERT(!m_redirectAttachToFosterParent); 169 177 m_openElements.pushHTMLHtmlElement(createElementAndAttachToCurrent(token)); 170 178 } … … 172 180 void HTMLConstructionSite::insertHTMLHeadElement(AtomicHTMLToken& token) 173 181 { 182 ASSERT(!m_redirectAttachToFosterParent); 174 183 m_head = createElementAndAttachToCurrent(token); 175 184 m_openElements.pushHTMLHeadElement(m_head); … … 178 187 void HTMLConstructionSite::insertHTMLBodyElement(AtomicHTMLToken& token) 179 188 { 189 ASSERT(!m_redirectAttachToFosterParent); 180 190 m_openElements.pushHTMLBodyElement(createElementAndAttachToCurrent(token)); 181 191 } … … 277 287 } 278 288 279 void HTMLConstructionSite::fosterParent( Element* element)289 void HTMLConstructionSite::fosterParent(Node* node) 280 290 { 281 291 Element* fosterParentElement = 0; … … 286 296 // FIXME: We need an insertElement which does not send mutation events. 287 297 ExceptionCode ec = 0; 288 lastTableElement->parent()->insertBefore(element, lastTableElement, ec); 298 lastTableElement->parent()->insertBefore(node, lastTableElement, ec); 299 // FIXME: Do we need to call attach()? 289 300 ASSERT(!ec); 290 301 return; … … 296 307 } 297 308 298 fosterParentElement->parserAddChild(element); 299 } 300 301 } 309 fosterParentElement->parserAddChild(node); 310 // FIXME: Do we need to call attach()? 311 } 312 313 } -
trunk/WebCore/html/HTMLConstructionSite.h
r62618 r62621 64 64 PassRefPtr<Element> createElement(AtomicHTMLToken&); 65 65 66 void fosterParent( Element*);66 void fosterParent(Node*); 67 67 68 68 bool indexOfFirstUnopenFormattingElement(unsigned& firstUnopenElementIndex) const; … … 85 85 void setForm(PassRefPtr<Element> form) { m_form = form; } 86 86 87 class RedirectToFosterParentGuard : public Noncopyable { 88 public: 89 RedirectToFosterParentGuard(HTMLConstructionSite& tree, bool shouldRedirect) 90 : m_tree(tree) 91 , m_wasRedirectingBefore(tree.m_redirectAttachToFosterParent) 92 { 93 m_tree.m_redirectAttachToFosterParent = shouldRedirect; 94 } 95 96 ~RedirectToFosterParentGuard() 97 { 98 m_tree.m_redirectAttachToFosterParent = m_wasRedirectingBefore; 99 } 100 101 private: 102 HTMLConstructionSite& m_tree; 103 bool m_wasRedirectingBefore; 104 }; 105 87 106 private: 107 friend class RedirectToFosterParentGuard; 108 88 109 template<typename ChildType> 89 110 PassRefPtr<ChildType> attach(Node* parent, PassRefPtr<ChildType> prpChild); … … 98 119 mutable HTMLFormattingElementList m_activeFormattingElements; 99 120 FragmentScriptingPermission m_fragmentScriptingPermission; 121 122 // http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#parsing-main-intable 123 // In the "in table" insertion mode, we sometimes get into a state where 124 // "whenever a node would be inserted into the current node, it must instead 125 // be foster parented." This flag tracks whether we're in that state. 126 bool m_redirectAttachToFosterParent; 100 127 }; 101 128 -
trunk/WebCore/html/HTMLTreeBuilder.cpp
r62618 r62621 202 202 } 203 203 204 bool requiresRedirectToFosterParent(Element* element) 205 { 206 return element->hasTagName(tableTag) 207 || isTableBodyContextTag(element->localName()) 208 || element->hasTagName(trTag); 209 } 210 204 211 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#formatting 205 212 bool isFormattingTag(const AtomicString& tagName) … … 856 863 } 857 864 parseError(token); 858 if (m_tree.currentElement()->hasTagName(tableTag) || isTableBodyContextTag(m_tree.currentElement()->localName()) || m_tree.currentElement()->hasTagName(trTag)) 859 notImplemented(); // "whenever a node would be inserted into the current node, it must instead be foster parented." 865 HTMLConstructionSite::RedirectToFosterParentGuard redirecter(m_tree, requiresRedirectToFosterParent(m_tree.currentElement())); 860 866 processStartTagForInBody(token); 861 867 } … … 1579 1585 return; 1580 1586 } 1581 // FIXME: Do we need to worry about "whenever a node would be inserted into the current node, it must instead be foster parented"? 1587 // Is this redirection necessary here? 1588 HTMLConstructionSite::RedirectToFosterParentGuard redirecter(m_tree, requiresRedirectToFosterParent(m_tree.currentElement())); 1582 1589 processEndTagForInBody(token); 1583 1590 } -
trunk/WebCore/html/HTMLTreeBuilder.h
r62610 r62621 151 151 152 152 HTMLElementStack::ElementRecord* furthestBlockForFormattingElement(Element*); 153 void findFosterParentFor(Element*);154 153 void reparentChildren(Element* oldParent, Element* newParent); 155 154 void callTheAdoptionAgency(AtomicHTMLToken&);
Note: See TracChangeset
for help on using the changeset viewer.