-
abarth@webkit.org authored
Reviewed by Eric Seidel. Implement "act as if the banana has been peeled" (for lack of a better term) https://bugs.webkit.org/show_bug.cgi?id=41734 The spec has a tricky passage that says "whenever a node would be inserted into the current node, it must instead be foster parented." This patch attempts to implement that requirement. * html/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::attach): (WebCore::HTMLConstructionSite::HTMLConstructionSite): (WebCore::HTMLConstructionSite::insertHTMLHtmlElement): (WebCore::HTMLConstructionSite::insertHTMLHeadElement): (WebCore::HTMLConstructionSite::insertHTMLBodyElement): (WebCore::HTMLConstructionSite::insertScriptElement): (WebCore::HTMLConstructionSite::fosterParent): * html/HTMLConstructionSite.h: (WebCore::HTMLConstructionSite::RedirectToFosterParentGuard::RedirectToFosterParentGuard): (WebCore::HTMLConstructionSite::RedirectToFosterParentGuard::~RedirectToFosterParentGuard): * html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processStartTagForInTable): (WebCore::HTMLTreeBuilder::processEndTagForInTable): * html/HTMLTreeBuilder.h: 2010-07-06 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Implement "act as if the banana has been peeled" (for lack of a better term) https://bugs.webkit.org/show_bug.cgi?id=41734 Massive test progression. * html5lib/runner-expected-html5.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
95692193