Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4323106

Link areas interpreted incorrectly in client side image maps.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • client-libs



      Name: krT82822 Date: 03/18/2000


      (three similar/related reports consolidated here)
      java version "1.3.0rc1" (and rc2 -- 1.3.0rc2-W)
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      #102010:

      When using client side image maps in an HTML document, the HTMLEditorKit
      incorrectly maps the areas of the image to the link specified in the <AREA>
      element. The area that invokes the link is larger than it should be, often
      extending over and completely covering other areas. The result is that
      clicking on an area activates the wrong link.

      I have an example program that demonstrates this bug. Since it requires
      several files, including a binary image file, it is not possible to include it
      using this form. The example can be retrieved from:

          http://nscs.fast.net/~jpm/LinkBug.zip (have attached to the bug report as a jar)

      --------------------

      #102012:

      HTMLEditorKit sometimes activates an anchor link in an HTML document when the
      mouse is clicked outside the link area. This appears to happen when there is
      white space before the "anchor" element - the white space area is counted as
      part of the link. But this area can extend far from the link area. In some
      cases, a mouse click can activate an anchor link that is on the other side of
      the window, hundreds of pixels away (in my example, 285 pixels horizontal and
      420 pixels vertical distance).

      ------------------------

      #102011: (this is a dupe)

      When the cursor is moved over the link area of a client side image map links,
      the cursor is not changed to the link cursor. It also does not generate a
      HyperLinkEvent (with event types ENTERED and EXITED) when the cursor enters or
      exits the link area.




      (Review ID: 102010)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: