LayoutTests:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Jul 2007 18:29:30 +0000 (18:29 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Jul 2007 18:29:30 +0000 (18:29 +0000)
commit68cc2c7689db0ef5fe26f870354e764661868039
treebb876e1cb7a920c6f550e4f90501e77f2ed50017
parent0ccdbc894d97be9146a986d49a644140117f9063
LayoutTests:

        Reviewed by Darin.

        Test for x <rdar://problem/5333387>
        Combination of selection and click() on checkbox crashes

        * fast/dynamic/checkbox-selection-crash-expected.txt: Added.
        * fast/dynamic/checkbox-selection-crash.html: Added.

WebCore:

        Reviewed by Darin.

        Fix <rdar://problem/5333387>
        Combination of selection and click() on checkbox crashes

        Ensure there is no pending style update before doing synchronous paint. Under certain
        circumstances this ends up doing style recalc in middle of paint() which may
        for example tear down the rendering tree being painted, with bad results.

        * dom/ContainerNode.cpp:
        (WebCore::ContainerNode::setActive):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dynamic/checkbox-selection-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/dynamic/checkbox-selection-crash.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/ContainerNode.cpp