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.

Jonathan
Received on Thursday, 21 February 2008 10:45:41 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:38 GMT