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

Re: focusin

From: Erik Dahlström <ed@opera.com>
Date: Mon, 26 Feb 2007 10:40:06 +0100
To: "Jonathan Chetwynd" <j.chetwynd@btinternet.com>, "SVG List" <www-svg@w3.org>
Cc: "Charles McCathieNevile" <chaals@opera.com>
Message-ID: <op.tocns4fogqiacl@gnorps.palace.opera.no>

Hi Jonathan,

On Sun, 25 Feb 2007 21:35:40 +0100, Jonathan Chetwynd  
<j.chetwynd@btinternet.com> wrote:

>
> Chaals,
>
> I guess I'll be filing some focusin bugs around the UAs
> with a reduced test case!
>
> weirdly this code works with Opera, using not QA but tab.
> please don't ask why I tried tab key ~:"

I would guess it's because A/Q traverses links (and there's no link on  
your <a> element). Tab traverses focusable elements.

> initially it may require 6 or so tab hits, then another to stop...
> including semicolons for other events adds additional errors
> buggy but kinda intentional I guess
>
> cheers
>
> Jonathan Chetwynd
>
> added 2 lines to your code:
>
>     <a><rect id="mfocus" x="230" y="166" width="20" height="18"  
> fill="green" /></a>
>
> and swapped:
>       begin="mfocus.focusin" end="mfocus.focusout"/>
> for
>       begin="up.mouseover;r.click" end="up.mouseup;up.mouseout;r.click"/>
>
...

/Erik

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Received on Monday, 26 February 2007 09:40:24 GMT

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