-
rafaelw@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=108260 Reviewed by Eric Seidel. Source/WebCore: Test: fast/parser/xml-error-adopted.xml The check and adoption if the documents don't match is now moved into ContainerNode::parser* from HTMLConstructionSite. * dom/ContainerNode.cpp: (WebCore::ContainerNode::parserInsertBefore): (WebCore::ContainerNode::parserAppendChild): * html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::insertTextNode): (WebCore::HTMLConstructionSite::findFosterSite): (WebCore::HTMLConstructionSite::fosterParent): LayoutTests: * fast/parser/xml-error-adopted-expected.txt: Added. * fast/parser/xml-error-adopted.xml: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6d53c626