LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jun 2006 21:19:59 +0000 (21:19 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jun 2006 21:19:59 +0000 (21:19 +0000)
commit1792baee5efa05db9cc04fa7a64735d41862efc3
tree76e9151508ead77be8d3018eb4e277613e533934
parenta73f31a305cd88cc9cd44d8166a6d3cd9d6507f0
LayoutTests:

        Reviewed by levi

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=8074>
        Caret before/after block tables is too small
        <rdar://problem/4598331>
        right arrow out of a table shows cursor in a weird place

        Demonstrates 9557:
        * editing/input/range-for-empty-document-expected.txt:
        Added:
        * editing/selection/table-caret-1-expected.checksum: Added.
        * editing/selection/table-caret-1-expected.png: Added.
        * editing/selection/table-caret-1-expected.txt: Added.
        * editing/selection/table-caret-1.html: Added.
        * editing/selection/table-caret-2-expected.checksum: Added.
        * editing/selection/table-caret-2-expected.png: Added.
        * editing/selection/table-caret-2-expected.txt: Added.
        * editing/selection/table-caret-2.html: Added.
        * editing/selection/table-caret-3-expected.checksum: Added.
        * editing/selection/table-caret-3-expected.png: Added.
        * editing/selection/table-caret-3-expected.txt: Added.
        * editing/selection/table-caret-3.html: Added.

WebCore:

        Reviewed by levi

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=8074>
        Caret before/after block tables is too small
        <rdar://problem/4598331>
        right arrow out of a table shows cursor in a weird place

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::caretRect): Don't propagate to children,
        VisiblePositions inside containers don't refer to children.
        Don't use the font height for tables.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
17 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/input/range-for-empty-document-expected.txt
LayoutTests/editing/selection/table-caret-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-1-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-1.html [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-2-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-2-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-2-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-2.html [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-3-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-3-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-3-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/table-caret-3.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/rendering/RenderBox.cpp