On Oct 14, 2013, at 3:44 PM, Rik Cabanier <caban...@gmail.com> wrote:

> Isn't focus ring drawn on the canvas?  If so, it's important that the focus 
> ring fits within the canvas. e.g. consider focusing an element of 100px by 
> 100px inside a canvas of the same size.  If the focus ring were to be drawn 
> around the element that currently has focus, then the entire focus ring would 
> be drawn outside of the visible region.
> 
> True. That sounds like bad design though.
> 
> Why? It doesn't seem particularly strange to have an element occupy the 
> entire canvas momentarily.
> 
> No, but I wouldn't never make the focus ring as large as the canvas.

Even if you don't make it full size, if the focus ring is drawn into the canvas 
buffer, you don't know how much room you need to account for. (If the focused 
control is near the edge of the canvas.)

— Timothy Hatcher
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to