Reviewed by Harrison.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Feb 2005 22:51:39 +0000 (22:51 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Feb 2005 22:51:39 +0000 (22:51 +0000)
commit7365cc009b8ac39f94caa93a70edab89e029baab
treeaa960891f4b03730030733a00a60edf7a1ce2ed0
parentc72fbf89bb0b621bc55036e9105c93ffd1e5a3e9
    Reviewed by Harrison.

        - fixed <rdar://problem/3990484> cursor changes to I-beam when moving over text in widgets, even when selection off via CSS

        * khtml/khtmlview.cpp: (KHTMLView::viewportMouseMoveEvent): Changed code to check canSelect when deciding
        whether to show an I-beam cursor.

        * khtml/rendering/render_object.h: Added canSelect.
        * khtml/rendering/render_object.cpp:
        (selectStartNode): Added. Helper function with the guts of shouldSelect.
        (RenderObject::canSelect): Added. Like shouldSelect, but does not call the "start selecting" event handler.
        (RenderObject::shouldSelect): Refactored to use selectStartNode.

        * khtml/css/cssvalues.c: Regnerated with newer gperf.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/css/cssvalues.c
WebCore/khtml/khtmlview.cpp
WebCore/khtml/rendering/render_object.cpp
WebCore/khtml/rendering/render_object.h