Reviewed by Eric.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jun 2006 05:07:08 +0000 (05:07 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jun 2006 05:07:08 +0000 (05:07 +0000)
commitcf405839b7f2c2ac88d12bc6dcaa6115f69ddba2
tree38c9ea8fdaa66bcb541aeb0866727fd236fa202b
parent4f40761cb6f117c35f4b243cc9aa3ba13d9b799a
    Reviewed by Eric.

        Manual test added: cursor.html

        Bug 9560: should support new CSS3 cursor types to get more resizing directions
        http://bugzilla.opendarwin.org/show_bug.cgi?id=9560

        Adds support for ew-resize, ns-resize, nesw-resize, nwse-resize,
        col-resize and row-resize CSS3 cursor values.

        Also converted some of the cursor images to grayscale tiffs,
        some were RGB but had no color data.

        * Resources/eastResizeCursor.tiff:
        * Resources/eastWestResizeCursor.tiff: Added.
        * Resources/helpCursor.tiff:
        * Resources/moveCursor.tiff:
        * Resources/northEastResizeCursor.tiff:
        * Resources/northEastSouthWestResizeCursor.tiff: Added.
        * Resources/northResizeCursor.tiff:
        * Resources/northSouthResizeCursor.tiff: Added.
        * Resources/northWestResizeCursor.tiff:
        * Resources/northWestSouthEastResizeCursor.tiff: Added.
        * Resources/southEastResizeCursor.tiff:
        * Resources/southResizeCursor.tiff:
        * Resources/southWestResizeCursor.tiff:
        * Resources/textAreaResizeCorner.tiff:
        * Resources/waitCursor.tiff:
        * Resources/westResizeCursor.tiff:
        * WebCore.xcodeproj/project.pbxproj:
        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
        * css/CSSValueKeywords.in:
        * css/cssparser.cpp:
        (WebCore::CSSParser::parseValue):
        * manual-tests/cursor.html: Added.
        * page/FrameView.cpp:
        (WebCore::selectCursor):
        * platform/Cursor.h:
        * platform/mac/CursorMac.mm:
        (WebCore::northSouthResizeCursor):
        (WebCore::eastWestResizeCursor):
        (WebCore::northEastSouthWestResizeCursor):
        (WebCore::northWestSouthEastResizeCursor):
        (WebCore::columnResizeCursor):
        (WebCore::rowResizeCursor):
        * platform/win/CursorWin.cpp:
        (WebCore::northSouthResizeCursor):
        (WebCore::eastWestResizeCursor):
        (WebCore::northEastSouthWestResizeCursor):
        (WebCore::northWestSouthEastResizeCursor):
        (WebCore::columnResizeCursor):
        (WebCore::rowResizeCursor):
        * rendering/render_style.h: cursor needs 5 bits now

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
27 files changed:
WebCore/ChangeLog
WebCore/Resources/eastResizeCursor.tiff
WebCore/Resources/eastWestResizeCursor.tiff [new file with mode: 0644]
WebCore/Resources/helpCursor.tiff
WebCore/Resources/moveCursor.tiff
WebCore/Resources/northEastResizeCursor.tiff
WebCore/Resources/northEastSouthWestResizeCursor.tiff [new file with mode: 0644]
WebCore/Resources/northResizeCursor.tiff
WebCore/Resources/northSouthResizeCursor.tiff [new file with mode: 0644]
WebCore/Resources/northWestResizeCursor.tiff
WebCore/Resources/northWestSouthEastResizeCursor.tiff [new file with mode: 0644]
WebCore/Resources/southEastResizeCursor.tiff
WebCore/Resources/southResizeCursor.tiff
WebCore/Resources/southWestResizeCursor.tiff
WebCore/Resources/textAreaResizeCorner.tiff
WebCore/Resources/waitCursor.tiff
WebCore/Resources/westResizeCursor.tiff
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/css/CSSComputedStyleDeclaration.cpp
WebCore/css/CSSValueKeywords.in
WebCore/css/cssparser.cpp
WebCore/manual-tests/cursor.html [new file with mode: 0644]
WebCore/page/FrameView.cpp
WebCore/platform/Cursor.h
WebCore/platform/mac/CursorMac.mm
WebCore/platform/win/CursorWin.cpp
WebCore/rendering/render_style.h