[SVGMobile12] setFocus() and focus methods in general

Hi,

In  
http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/svgudom.html#svg::SVGSVGElement_setFocus  
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...

Cheers,

Anne


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

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