[Webkit-unassigned] [Bug 15032] New: The element input with the attribute usemap does not provide client-side image map functionality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 20 21:39:16 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15032

           Summary: The element input with the attribute usemap does not
                    provide client-side image map functionality
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://software.hixie.ch/utilities/js/live-dom-
                    viewer/?%3C%21DOCTYPE%20HTML%20PUBLIC%20%22-
                    //W3C//DTD%20HTML%204.01%20Transitional//EN%22%0A%20%20%
                    20%20%20%20%20%20%22http%3A//www.w3.org/TR/html4/loose.d
                    td%22%3E%0A%3Chtml%20lang%3D%22en%22%3E%0A%3Chead%3E%0A%
                    09%3Cmeta%20http-equiv%3D%22content-
                    type%22%20content%3D%22text/html%3B%20charset%3Dutf-
                    8%22%20%3E%0A%09%3Ctitle%3EUntitled%3C/title%3E%0A%3Csty
                    le%20type%3D%27text/css%27%3E%0Ainput%20%7Bheight%3A%201
                    00px%3B%20width%3A%20200px%3B%7D%0A%23leftarea%20%7Bbord
                    er-style%3A%20solid%3B%20border-
                    color%3A%20red%3B%20border-
                    size%3A%201px%3B%20%7D%0A%23rightarea%20%20%7Bborder-
                    style%3A%20solid%3B%20border-
                    color%3A%20blue%3B%20border-
                    size%3A%201px%3B%20%7D%0A%0Aimg%3Ahover%20%7Bcursor%3A%2
                    0help%3B%7D%0A%0Aarea%3Ahover%20%7Bcursor%3A%20move%3B%7
                    D%0A%0A%3C/style%3E%0A%0A%3C/head%3E%0A%3Cbody%3E%0A%0A%
                    0A%3Cp%3E%0A%3Cmap%20name%3Dm%3E%0A%09%3Carea%20id%3Dlef
                    tarea%20title%3D%27left-side%27%20alt%3D%27left-
                    side%27%20shape%3Drect%20coords%3D%270%2C0%2C100%2C100%2
                    7%20%3E%0A%0
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robburns1 at mac.com


When the element input uses usemap=IDREF to point to a client-side image map in
the same document, WebKit should make use of that image map in several ways.

 1) it should map the area elements within the map element to the appropriate
coordinates and shapes onto the image for the input element;
 2) it should provide tooltips from the area element's title attribute upon
mouse-over on those mapped areas;
 3) it should treat those areas generally as frames (though not necessarily
rectangular frames) with all of the behaviors and methods of those frames,
including:
   a) receive events
   b) focus outline indicateion
   c) apply CSS bos model (though not necessarily rectangular) properties
including margin, padding, border and outline.
   d) apply CSS :hover and other pseudo selectors to the frames corresponding
to the area elements
   e) apply other CSS where appropriate

Currently WebKit submits a form onclick, but does not provide any of the
benefits of the usemap attribute.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list