Open Bug 230946 Opened 21 years ago Updated 2 years ago

move some image map handling into content

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

Details

Right now image map handling doesn't respond to dynamic changes in the map well (changes to the name attribute are handled by reconstructing all frames (which I plan to remove -- see bug 230945), and nothing else does anything). I think the solution to this is to move the image map hit testing into content, and whenever an image needs hit testing from its image map, it should get the content node and ask the content node for the hit testing. (Or perhaps it should cache the content node, but that would break changes to the name attribute.)
Also, the current design is rather bloaty when multiple images use the same map, since we construct an nsImageMap object for each image that uses the map.
Product: Core → Core Graveyard
Product: Core Graveyard → Core
Assignee: dbaron → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.