Re: drawSystemFocusRing and drawCustomFocusRing names are confusing.

On Thu, Jan 9, 2014 at 5:14 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Fri, Jan 10, 2014 at 2:08 PM, Rik Cabanier <cabanier@gmail.com> wrote:
>
>> Why not? If we cache the path, we should be able to draw the focus on top
>> of the canvas.
>>
>
> Because there might be other content on top of the rendering of the
> focused element, that should not be obscured by the focus ring. Or the
> focused element might be supposed to be clipped.
>

Are we overoptimizing for obscure theoretical cases? What are the chances
someone wants to draw a *system* focus ring but clip it and overlay other
elements on top of it? We can provide a good native focus ring.

I wonder if there aren't just as many plausible use cases where the focus
ring would naturally extend outside of the canvas bounds, and it'd be
unnatural and annoying for the author to enlarge the canvas just for focus
rings.

Received on Friday, 10 January 2014 07:23:24 UTC