LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jun 2007 03:42:45 +0000 (03:42 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jun 2007 03:42:45 +0000 (03:42 +0000)
commit68574516bf0eb764a0a51c25e39513b37d6744d2
tree7ff909e01f2230eaa24ab7f08ebbe2b1aaaad9ed
parent390c1765d23ff4ee2cd10bcf1670066bb7fa74ef
LayoutTests:

        Reviewed by Oliver.

        * editing/pasteboard/5245519-expected.checksum: Added.
        * editing/pasteboard/5245519-expected.png: Added.
        * editing/pasteboard/5245519-expected.txt: Added.
        * editing/pasteboard/5245519.html: Added.

WebCore:

        Reviewed by Oliver.

        <rdar://problem/5245519> CrashTracer: [USER] 457 crashes in Mail at WebCore::CSSComputedStyleDeclaration::copyInheritableProperties()

        If the user pastes something into a region that ends up being
        invisible, or if the pasted content contains style spans
        that are render-less, we'll crash when we try to remove
        redundant styles from style spans.

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::CSSComputedStyleDeclaration::copyInheritableProperties):
        Add null checks.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@22038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/5245519-expected.checksum [new file with mode: 0644]
LayoutTests/editing/pasteboard/5245519-expected.png [new file with mode: 0644]
LayoutTests/editing/pasteboard/5245519-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/5245519.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSComputedStyleDeclaration.cpp