Client side imagemaps don't work in some nested tables

VERIFIED FIXED

Status

()

Core
Layout: Tables
P2
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: Angus Davis, Assigned: buster)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

19 years ago
Here's the HTML test case, extracted from the Netcenter Address Book page. At
the top of the address book is a "tool bar" with options like "New,"
"Directory," "Sign-out," "Customize," etc. These are areas in a client side
image map. You should be able to click on these areas of the map, including the
areas on the right side of the map. However, in NGLayout, the right side of the
map isn't "clickable" -- the cursor doesn't change and the link cannot be
"activated."

I think somewhere we're miscalculating where the imagemap's areas are, because
the areas on the left still work, although clicking on them sometimes crashes.
It's as though NGLayout thinks the Imagemap areas are located a few
hundred pixels to the left.

Here is the HTML test case:
<BODY>
<TABLE>
  <TR>
    <td>Let's put some space in here!</td>
    <TD>
      <TABLE>
        <TR>
          <TD>
            <TABLE>
              <TR
BACKGROUND="http://my.netscape.com/mys/images/contact/90percent2x2screen.gif">
                <TD><IMG SRC="http://my.netscape.com/mys/images/w.gif" WIDTH=4
HEIGHT=1><IMG
SRC=http://my.netscape.com/mys/images/contact/contact_cookie_tb_yes.gif
contact_cookie_tb_no.gif USEMAP="#toolbar" WIDTH=436 HEIGHT=35 ALT="button
palette" BORDER=0 VSPACE=5 ISMAP>

<MAP NAME="toolbar">
<AREA SHAPE=RECT COORDS="0,0,41,35" HREF="mailto:">
<AREA SHAPE=RECT COORDS="41,0,124,35"
HREF="http://form.netscape.com/directory/html/no_javascript.html"
onClick="open_wname('http://my.netscape.com/mys/contact/comingsoon.html','search
'); return false;">

<AREA SHAPE=RECT COORDS="124,0,164,35"
HREF="/setup_frameset.tmpl?services=addressbook&mn=NO&dest=/contact/index.tmpl">
<AREA SHAPE=RECT COORDS="164,0,222,35"
HREF="http://form.netscape.com/directory/html/no_javascript.html"
onClick="open_wname('http://form.netscape.com/directory/lookup/html/search_frame
set.html','mdsearch'); return false;">
<AREA SHAPE=RECT COORDS="309,0,352,35"
HREF="http://ureg.netscape.com/iiop/UReg2/login/login?U2_SOURCE=ADDRESSBOOK&U2_E
NDURL=http://home.netscape.com&U2_EXITURL=http://home.netscape.com&U2_BROWSER_OK
=true&U2_LOGOUT=true">
<AREA SHAPE=RECT COORDS="352,0,411,35"
HREF="/setup_frameset.tmpl?services=addressbook&mn=NO&dest=/contact/index.tmpl">

<AREA SHAPE=RECT COORDS="309,0,352,35"
HREF="http://ureg.netscape.com/iiop/UReg2/login/login?U2_SOURCE=ADDRESSBOOK&U2_E
NDURL=http://contact.netscape.com/contact/&U2_EXITURL=http://home.netscape.com&U
2_BROWSER_OK=true">
<AREA SHAPE=RECT COORDS="352,0,411,35"
HREF="http://ureg.netscape.com/iiop/UReg2/entrypoint/dispatch?U2_SOURCE=ADDRESSB
OOK&U2_NEW_ENDURL=http://contact.netscape.com/setup_frameset.tmpl//&services=add
ressbook//&mn=NO//&dest=/contact/index.tmpl&U2_EXITURL=http://home.netscape.com&
U2_BROWSER_OK=true">
<AREA SHAPE=RECT COORDS="411,0,436,35"
HREF="http://my.netscape.com/mys/contact/help.html">
</MAP>


</td></tr></table>
</td></tr></table>
</td></tr></table>
</body>

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 1

19 years ago
Troy got this one sometime last week.

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 2

19 years ago
Seems fine. Verified fixed.
You need to log in before you can comment on or make changes to this bug.