LayoutTests:
authortomernic <tomernic@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Apr 2006 00:57:29 +0000 (00:57 +0000)
committertomernic <tomernic@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Apr 2006 00:57:29 +0000 (00:57 +0000)
commitf2a98bd09370c9a836e15cd8666563ea8bbf4d35
treeaaf0407baa9014eb73f8bf164ef40a15ff18544a
parentf4fea6bb0fd076fe540c8f8a59b8021462a8dc2f
LayoutTests:

        Reviewed by Hyatt.

        Test case for <rdar://problem/4068375> Flash inserted via innerHTML Fails to Show when
        CSS Display Style is Toggled via Javascript

        * plugins/inner-html-display-none.html: Added.
        * plugins/inner-html-display-none-expected.txt: Added.

WebCore:

        Reviewed by Hyatt.

        <rdar://problem/4068375> Flash inserted via innerHTML Fails to Show when CSS Display
        Style is Toggled via Javascript

        * html/html_objectimpl.cpp:
        (WebCore::HTMLObjectElement::setComplete):
        Set needWidgetUpdate when finished parsing, even if the object element is not in
        a document.  That way, when the element attaches to a document, it will update its
        widget (creating the plug-in view if necessary).  This is important when the object
        is being inserted via setInnerHTML, since the parsed nodes are not added to the
        document until the whole HTML string is parsed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/plugins/inner-html-display-none-expected.txt [new file with mode: 0644]
LayoutTests/plugins/inner-html-display-none.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/html_objectimpl.cpp