LayoutTests:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Feb 2007 13:09:04 +0000 (13:09 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Feb 2007 13:09:04 +0000 (13:09 +0000)
commit7eeb3da35fa8cdb551c08ac7b7294124fe647f4c
tree9ed60a314f17d778f18624e8c4727791cef5667d
parentba4e4c28f61e81513117c01f09d8ed14c9fedea6
LayoutTests:

        Reviewed by Hyatt.

        - test for http://bugs.webkit.org/show_bug.cgi?id=12746
        REGRESSION (r13853): List item's first line overflows containing div

        * fast/lists/item-not-in-list-line-wrapping-expected.checksum: Added.
        * fast/lists/item-not-in-list-line-wrapping-expected.png: Added.
        * fast/lists/item-not-in-list-line-wrapping-expected.txt: Added.
        * fast/lists/item-not-in-list-line-wrapping.html: Added.

WebCore:

        Reviewed by Hyatt.

        - fix http://bugs.webkit.org/show_bug.cgi?id=12746
        REGRESSION (r13853): List item's first line overflows containing div

        Test: fast/lists/item-not-in-list-line-wrapping.html

        * rendering/bidi.cpp:
        (WebCore::RenderBlock::findNextLineBreak): Use the list marker's isInside()
        instead of looking at its style()->listStylePosition(), since if the
        list item is not in a list, the marker is inside regardless of the style.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/lists/item-not-in-list-line-wrapping-expected.checksum [new file with mode: 0644]
LayoutTests/fast/lists/item-not-in-list-line-wrapping-expected.png [new file with mode: 0644]
LayoutTests/fast/lists/item-not-in-list-line-wrapping-expected.txt [new file with mode: 0644]
LayoutTests/fast/lists/item-not-in-list-line-wrapping.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/bidi.cpp