Skip to content
  • justing's avatar
    LayoutTests: · 26aeccc0
    justing authored
            Reviewed by darin
            
            Test for:
            <http://bugzilla.opendarwin.org/show_bug.cgi?id=6844>
            elementAtPoint returns the list when the point is over a list marker
    
            * fast/events/onclick-list-marker-expected.txt: Added.
            * fast/events/onclick-list-marker.html: Added.
    
    WebCore:
    
            Reviewed by darin
            
            <http://bugzilla.opendarwin.org/show_bug.cgi?id=6844>
            elementAtPoint returns the list when the point is over a list marker
            
            Consider the case of outside list markers in nodeAtPoint.  Had to pull 
            the code out of RenderListMarker::paint that computed the position/size 
            of the list marker.
    
            Added:
            * fast/events/onclick-list-marker.html
    
            * rendering/render_list.cpp:
            (RenderListItem::nodeAtPoint):
            (RenderListItem::getAbsoluteRepaintRect):
            (RenderListMarker::paint):
            (RenderListMarker::nodeAtPoint):
            (RenderListMarker::getRelativeMarkerRect):
            * rendering/render_list.h:
            * rendering/render_object.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    26aeccc0