W3C home > Mailing lists > Public > www-svg@w3.org > February 2008

Re: object and anchor

From: Jonathan Watt <jwatt@jwatt.org>
Date: Thu, 21 Feb 2008 11:45:19 +0100
Message-ID: <47BD563F.4040401@jwatt.org>
To: www-svg List <www-svg@w3.org>

~:'' ???????????? wrote:
> using the attached html file,
> Safari, Mozilla, and Opera all ignore the fact the <object> is within
> the anchor.
> ie cursor does not change, status bar is not updated and clicking does
> not result in change of address.
> please can someone explain this behaviour?

It's because events do not bubble across document boundaries. To get the effect
you desire you'd have to use the HTML <img> tag, not the <object> tag, but as
you'll have noticed Mozilla at least doesn't support it for SVG yet.

Received on Thursday, 21 February 2008 10:45:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:17 UTC