Re: handling focus

On Nov 16, 2009, at 5:27 AM, Steven Faulkner wrote:

> at TPAC the provision of a method to draw focus rectangles on a canvas was discussed, and it appeared that this was considered necessary,

In the shadow DOM proof of concept I developed, I just drew the focus ring with the canvas. I don't see any need to have a native focus ring drawn on top of the canvas. I'd say, leave a custom view like canvas for the author to manage.

> how does this fit in with the use of active-descendent to track focus in a shadow DOM?

Only using 'active-descendant' would allow for a shadow DOM as deep as one managed focus widget. This is fine, but a standard focus model inside the shadow DOM is necessary, too. Otherwise you'd need to render a separate canvas element for every complex widget, so something as complex as Bespin could never be achieved by using a single active descendant.

Received on Monday, 16 November 2009 23:47:46 UTC