LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Jul 2006 19:27:34 +0000 (19:27 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Jul 2006 19:27:34 +0000 (19:27 +0000)
commit8eed4923bdc42a2b4c3faee523f9e4b7560859d5
tree9323e986ed1878894a86c8fb7391fab3c8c1afce
parentb84bcd7c6a5c9660d58e166ac5325a498ec8e43d
LayoutTests:

        Reviewed by John Sullivan.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=8587
          <rdar://problem/4631844>
          REGRESSION: {display:list-item} on items outside an ol or ul element no longer causes incremental numbering

        * fast/lists/numeric-markers-outside-list-expected.checksum: Added.
        * fast/lists/numeric-markers-outside-list-expected.png: Added.
        * fast/lists/numeric-markers-outside-list-expected.txt: Added.
        * fast/lists/numeric-markers-outside-list.html: Added.

WebCore:

        Reviewed by John Sullivan.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8587
          <rdar://problem/4631844>
          REGRESSION: {display:list-item} on items outside an ol or ul element no longer causes incremental numbering

        Test: fast/lists/numeric-markers-outside-list.html

        * rendering/RenderListItem.cpp: (WebCore::previousListItem):
        Look for list items, even when we're outside any list.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/lists/numeric-markers-outside-list-expected.checksum [new file with mode: 0644]
LayoutTests/fast/lists/numeric-markers-outside-list-expected.png [new file with mode: 0644]
LayoutTests/fast/lists/numeric-markers-outside-list-expected.txt [new file with mode: 0644]
LayoutTests/fast/lists/numeric-markers-outside-list.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderListItem.cpp