W3C home > Mailing lists > Public > www-svg@w3.org > July 2006

[SVGMobile12] setFocus() and focus methods in general

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 06 Jul 2006 11:55:29 +0200
To: www-svg@w3.org
Message-ID: <op.tb9hurhn64w2qv@id-c0020.www.planet.nl>


it's not clear what happens when DOMObject is not an Element node. I guess  
you want it to be a DOMObject for something special, but it should be  
clear in all cases how interaction works, not just for Element nodes which  
can have a focusable="" attribute specified.

Another problem is that the method definition assumes another element  
already has focus, by stating that a DOMFocusIn event must be dispatched  
on some node.

In general, it's not clear to me why these methods exist on SVGSVGElement.  
It seems like you want such methods on the Document object, once, for all  
languages that have focusable elements etc. Same for  
getCurrentFocusedObject() for example. Those methods are not really  
practical in situations where you have two sibling <svg:svg> elements  
within some XHTML document...



Anne van Kesteren
Received on Thursday, 6 July 2006 09:55:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:08 UTC