-
dglazkov@chromium.org authored
Reviewed by Adam Barth. Ensure that parser doesn't attach children that have been removed by JavaScript event handlers. https://bugs.webkit.org/show_bug.cgi?id=43813 This patch re-fixes bug 40742 in a way that keeps allowing HTMLLinkElement to lazy-attach. * html/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::attach): Added parent check. * html/HTMLLinkElement.cpp: Basically undoes changes introduced by r61424. * html/HTMLLinkElement.h: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f811b72e