hint_manager.generate_hints: support html:area elements
commit16c1785b996461d2d979b62971e265503d535935
authorJohn Foerch <jjfoerch@earthlink.net>
Fri, 16 Oct 2009 00:55:23 +0000 (15 20:55 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Fri, 16 Oct 2009 00:55:23 +0000 (15 20:55 -0400)
treea42006906309ee618ee4bfbd7dda8e67c8240714
parent5e3c8184d3c68c8203e9eb817194df2cb31794f9
hint_manager.generate_hints: support html:area elements

elemet.getBoundingClientRect returns the rectangle for the container html:map
when called on html:area, so it's necessary to look at the coords attribute
and compensate to place the hint.
modules/hints.js