LayoutTests:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Feb 2007 11:59:07 +0000 (11:59 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Feb 2007 11:59:07 +0000 (11:59 +0000)
commit7dac86f77f76d0254c238e73567f52a2c4d67c6c
tree95ead6be96d1772eef94778c61bfe5d5d1a644b6
parentd0c59616485d4ad4435bdc40db3167838f340004
LayoutTests:

        Reviewed by Antti.

        - test case for <rdar://problem/4928675> REGRESSION: Crash in CGBlt_copyBytes under WebCore::Font::drawGlyphs (12083)
        http://bugs.webkit.org/show_bug.cgi?id=12083

        * fast/text/text-shadow-extreme-value.html: Added.
        * fast/text/text-shadow-extreme-value-expected.txt: Added.

WebCore:

        Reviewed by Antti.

        - fixed <rdar://problem/4928675> REGRESSION: Crash in CGBlt_copyBytes under WebCore::Font::drawGlyphs (12083)
        http://bugs.webkit.org/show_bug.cgi?id=12083

        Test: fast/text/text-shadow-extreme-value.html

        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::setShadow): Clamp shadow value to 1000px, anything more seems to
        make CG unhappy.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/text-shadow-extreme-value-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/text-shadow-extreme-value.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/graphics/cg/GraphicsContextCG.cpp