LayoutTests:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Apr 2006 23:55:19 +0000 (23:55 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Apr 2006 23:55:19 +0000 (23:55 +0000)
commit9b96adbdd3cd9293b74973e584d8a2f48325684e
tree92ed6e8f09cc50dddd60d84b465549a9b686745b
parentf6ca761fe773469320fd9475eb6441cc0c73582d
LayoutTests:

        Reviewed by Darin.

        Test case for this fix:

        - fixed REGRESSION: offsetParent on element with no offset parent crashes

        * fast/dom/Element/null-offset-parent.html: Added.

WebCore:

        Reviewed by Darin.

        - fixed REGRESSION: offsetParent on element with no offset parent crashes

        * dom/Element.cpp:
        (WebCore::Element::offsetParent): Add missing null check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/Element/null-offset-parent-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/Element/null-offset-parent.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Element.cpp