• andersca's avatar
    LayoutTests: · 16743d26
    andersca authored
            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: http://svn.webkit.org/repository/webkit/trunk@24068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    16743d26
embed-inside-object-expected.txt 164 Bytes