2006-05-15 Eric Seidel <eseidel@apple.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 May 2006 21:16:29 +0000 (21:16 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 May 2006 21:16:29 +0000 (21:16 +0000)
commitd5fdf48b45b517e9b709d5f2a652db09b5183676
treeac20dc4fc6c9a9f21892eae455d2d57f42086fbb
parent059e41d02f70a2f0413e134ee34cb02cc4791fab
2006-05-15  Eric Seidel  <eseidel@apple.com>

        Reviewed by ggaren.

        Split render_list.* and html_listimpl.* into separate files (one per class).

        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/kjs_html.cpp:
        * bindings/objc/DOMHTML.mm:
        * bridge/mac/FrameMac.mm:
        (WebCore::FrameMac::attributedString):
        * html/HTMLDListElement.cpp: Added.
        (WebCore::HTMLDListElement::HTMLDListElement):
        * html/HTMLDListElement.h: Added.
        * html/HTMLDirectoryElement.cpp: Added.
        (WebCore::HTMLDirectoryElement::HTMLDirectoryElement):
        * html/HTMLDirectoryElement.h: Added.
        * html/HTMLElementFactory.cpp:
        * html/HTMLKeygenElement.cpp:
        * html/HTMLLIElement.cpp: Added.
        (WebCore::HTMLLIElement::HTMLLIElement):
        (WebCore::HTMLLIElement::parseMappedAttribute):
        (WebCore::HTMLLIElement::attach):
        (WebCore::HTMLLIElement::setType):
        * html/HTMLLIElement.h: Added.
        * html/HTMLMenuElement.cpp: Added.
        (WebCore::HTMLMenuElement::HTMLMenuElement):
        * html/HTMLMenuElement.h: Added.
        * html/HTMLOListElement.cpp: Added.
        (WebCore::HTMLOListElement::HTMLOListElement):
        (WebCore::HTMLOListElement::parseMappedAttribute):
        (WebCore::HTMLOListElement::setType):
        * html/HTMLOListElement.h: Added.
        (WebCore::HTMLOListElement::start):
        * html/HTMLOptionElement.cpp:
        (WebCore::HTMLOptionElement::HTMLOptionElement):
        (WebCore::HTMLOptionElement::checkDTD):
        (WebCore::HTMLOptionElement::text):
        (WebCore::HTMLOptionElement::setText):
        (WebCore::HTMLOptionElement::getSelect):
        (WebCore::HTMLOptionElement::setLabel):
        * html/HTMLOptionElement.h:
        * html/HTMLParser.cpp:
        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::HTMLSelectElement):
        * html/HTMLUListElement.cpp: Added.
        (WebCore::HTMLUListElement::HTMLUListElement):
        * html/HTMLUListElement.h: Added.
        * html/html_listimpl.cpp: Removed.
        * html/html_listimpl.h: Removed.
        * kwq/WebCoreAXObject.mm:
        * rendering/InlineFlowBox.cpp:
        * rendering/ListMarkerBox.cpp: Added.
        (WebCore::ListMarkerBox::ListMarkerBox):
        (WebCore::ListMarkerBox::isText):
        * rendering/ListMarkerBox.h: Added.
        * rendering/RenderContainer.cpp:
        (WebCore::updateListMarkerNumbers):
        (WebCore::RenderContainer::addChild):
        (WebCore::RenderContainer::removeChild):
        (WebCore::RenderContainer::layout):
        (WebCore::RenderContainer::removeLeftoverAnonymousBoxes):
        (WebCore::RenderContainer::positionForCoordinates):
        (WebCore::RenderContainer::lineBoxRects):
        * rendering/RenderListItem.cpp: Added.
        (WebCore::RenderListItem::RenderListItem):
        (WebCore::RenderListItem::setStyle):
        (WebCore::RenderListItem::calcValue):
        (WebCore::RenderListItem::markerStringValue):
        * rendering/RenderListItem.h: Added.
        (WebCore::RenderListItem::renderName):
        (WebCore::RenderListItem::setValue):
        (WebCore::RenderListItem::setNotInList):
        (WebCore::RenderListItem::notInList):
        * rendering/RenderListMarker.cpp: Added.
        (WebCore::RenderListMarker::RenderListMarker):
        (WebCore::RenderListMarker::setStyle):
        (WebCore::RenderListMarker::paint):
        (WebCore::RenderListMarker::layout):
        (WebCore::RenderListMarker::calcMinMaxWidth):
        * rendering/RenderListMarker.h: Added.
        (WebCore::RenderListMarker::renderName):
        * rendering/RenderObject.cpp:
        * rendering/render_list.cpp: Removed.
        * rendering/render_list.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
36 files changed:
WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/kjs_html.cpp
WebCore/bindings/objc/DOMHTML.mm
WebCore/bridge/mac/FrameMac.mm
WebCore/html/HTMLDListElement.cpp [new file with mode: 0644]
WebCore/html/HTMLDListElement.h [new file with mode: 0644]
WebCore/html/HTMLDirectoryElement.cpp [new file with mode: 0644]
WebCore/html/HTMLDirectoryElement.h [new file with mode: 0644]
WebCore/html/HTMLElementFactory.cpp
WebCore/html/HTMLKeygenElement.cpp
WebCore/html/HTMLLIElement.cpp [new file with mode: 0644]
WebCore/html/HTMLLIElement.h [new file with mode: 0644]
WebCore/html/HTMLMenuElement.cpp [new file with mode: 0644]
WebCore/html/HTMLMenuElement.h [new file with mode: 0644]
WebCore/html/HTMLOListElement.cpp [new file with mode: 0644]
WebCore/html/HTMLOListElement.h [new file with mode: 0644]
WebCore/html/HTMLOptionElement.cpp
WebCore/html/HTMLOptionElement.h
WebCore/html/HTMLParser.cpp
WebCore/html/HTMLSelectElement.cpp
WebCore/html/HTMLUListElement.cpp [new file with mode: 0644]
WebCore/html/HTMLUListElement.h [new file with mode: 0644]
WebCore/html/html_listimpl.cpp [deleted file]
WebCore/html/html_listimpl.h [deleted file]
WebCore/kwq/WebCoreAXObject.mm
WebCore/rendering/InlineFlowBox.cpp
WebCore/rendering/ListMarkerBox.cpp [new file with mode: 0644]
WebCore/rendering/ListMarkerBox.h [new file with mode: 0644]
WebCore/rendering/RenderContainer.cpp
WebCore/rendering/RenderListItem.cpp [new file with mode: 0644]
WebCore/rendering/RenderListItem.h [new file with mode: 0644]
WebCore/rendering/RenderListMarker.cpp [moved from WebCore/rendering/render_list.cpp with 65% similarity]
WebCore/rendering/RenderListMarker.h [moved from WebCore/rendering/render_list.h with 61% similarity]
WebCore/rendering/RenderObject.cpp