LayoutTests:

        Test for <rdar://problem/4381360>, http://bugzilla.opendarwin.org/show_bug.cgi?id=6100
        REGRESSION: Focus ring on contenteditable div outlines text in overflow area instead of div (6100)

        * fast/overflow/overflow-focus-ring-expected.checksum: Added.
        * fast/overflow/overflow-focus-ring-expected.png: Added.
        * fast/overflow/overflow-focus-ring-expected.txt: Added.
        * fast/overflow/overflow-focus-ring.html: Added.

WebCore:

        Reviewed by Darin and Hyatt.

        Fixed <rdar://problem/4381360> REGRESSION: Focus ring on contenteditable div outlines text in overflow area instead of div (6100)
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6100

        Test: fast/overflow/overflow-focus-ring.html

        * khtml/rendering/render_flow.cpp:
        (RenderFlow::addFocusRingRects): For overflow, we don't need to compute the rects for the children.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7 files changed