File: bug1430.html

package info (click to toggle)
iceweasel 2.0.0.19-0etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 298,784 kB
  • ctags: 317,912
  • sloc: cpp: 1,796,902; ansic: 987,677; xml: 109,036; makefile: 47,777; asm: 35,201; perl: 26,983; sh: 20,879; cs: 6,232; java: 5,513; python: 3,249; pascal: 459; lex: 306; php: 244; csh: 132; objc: 97; yacc: 79; ada: 49; awk: 14; sql: 4; sed: 4
file content (66 lines) | stat: -rw-r--r-- 2,809 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<BODY>
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. 
<BR>
<TABLE>
  <TR>
    <td>Let's put some space in here!</td>
    <TD>
      <TABLE>
        <TR>
          <TD>
            <TABLE>
              <TR 
BACKGROUND=../images/raptor.jpg>
                <TD><IMG SRC=../images/raptor.jpg WIDTH=4 
HEIGHT=1><IMG 
SRC=../images/raptor.jpg 
../images/raptor.jpg 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_frameset.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>