LayoutTests:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jul 2007 20:52:42 +0000 (20:52 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jul 2007 20:52:42 +0000 (20:52 +0000)
commit7286d45a5598e0412fc50ccdce467e57054c7a72
tree5ce59ef74a88f50020141dd3cbea79b0ce2e3204
parent4a798a05d7156089e4e3ff922934881947965c85
LayoutTests:

        Reviewed by Mitz.

        <rdar://problem/5280532>
        REGRESSION: Can't access nested embed by document.name if object is not immediate parent

        * plugins/embed-inside-object-expected.txt: Added.
        * plugins/embed-inside-object.html: Added.

WebCore:

        Reviewed by Mitz.

        <rdar://problem/5280532>
        REGRESSION: Can't access nested embed by document.name if object is not immediate parent

        Traverse up the tree looking for an object element.

        * html/HTMLEmbedElement.cpp:
        (WebCore::HTMLEmbedElement::getInstance):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/plugins/embed-inside-object-expected.txt [new file with mode: 0644]
LayoutTests/plugins/embed-inside-object.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLEmbedElement.cpp