[Webkit-unassigned] [Bug 207758] [WPE] Use the theme to render the focus ring
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 20 02:30:24 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=207758
--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Adrian Perez from comment #2)
> Comment on attachment 390758 [details]
> 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?
We have always ignored them in GTK port. I checked other browsers and they also seem to ignore it.
> 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 tried to honor them and it didn't really work. In the case of the offset, it sometimes applied already by renderer (depends on the caller).
> I think it's fine to land the patch as-is, but I would leave a TODO
> comment here.
Ok, we can investigate it later.
> > Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp:320
> > + UNUSED_PARAM(offset);
>
> Ditto.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200220/d60dc25f/attachment-0001.htm>
More information about the webkit-unassigned
mailing list