[webkit-reviews] review granted: [Bug 207758] [WPE] Use the theme to render the focus ring : [Attachment 390758] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 20 00:14:32 PST 2020


Adrian Perez <aperez at igalia.com> has granted Carlos Garcia Campos
<cgarcia at igalia.com>'s request for review:
Bug 207758: [WPE] Use the theme to render the focus ring
https://bugs.webkit.org/show_bug.cgi?id=207758

Attachment 390758: Patch

https://bugs.webkit.org/attachment.cgi?id=390758&action=review




--- Comment #2 from Adrian Perez <aperez at igalia.com> ---
Comment on attachment 390758
  --> https://bugs.webkit.org/attachment.cgi?id=390758
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=390758&action=review

> Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp:298
> +    UNUSED_PARAM(offset);

What is the reason for these two being ignored? IIUC, it is possible
to set some CSS properties on focus rings using the :focus selector,
and I think these two values might comes from there in some way e.g.
if the shape is not overriden, but only the border width then that
would mean “paint the system focus ring, but with a custom width”.

I think it's fine to land the patch as-is, but I would leave a TODO
comment here.

> Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp:320
> +    UNUSED_PARAM(offset);

Ditto.


More information about the webkit-reviews mailing list