WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Oct 2008 19:10:51 +0000 (19:10 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Oct 2008 19:10:51 +0000 (19:10 +0000)
commit91720344606c0a7380324e00cc3f07dccdb873f9
tree7be375a707daaef4e34b8761974e1e4d2c3f9b6f
parent8afb42aa7c734f7a43f8a14c08d906c232b34b95
WebCore:

        Reviewed by Sam Weinig.

        - fix https://bugs.webkit.org/show_bug.cgi?id=21851
          <rdar://problem/6304151> REGRESSION (r36513): Crash when removing a widget with percent height

        Test: fast/replaced/percent-height-in-anonymous-block-widget.html

        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::destroy): Copied code added to
        RenderBox::destroy() in r36513 into this function.

LayoutTests:

        Reviewed by Sam Weinig.

        - test for https://bugs.webkit.org/show_bug.cgi?id=21851
          <rdar://problem/6304151> REGRESSION (r36513): Crash when removing a widget with percent height

        * fast/replaced/percent-height-in-anonymous-block-widget.html: Added.
        * platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.checksum: Added.
        * platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.png: Added.
        * platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/replaced/percent-height-in-anonymous-block-widget.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderWidget.cpp