Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to ship: make outlines follow border-radius automatically

263 views
Skip to first unread message

Emilio Cobos Álvarez

unread,
Feb 22, 2021, 9:05:30 AM2/22/21
to Mozilla
The soft freeze is over, the change has been enabled for a few weeks on
Nightly, and so far I've only seen progressions due to this change, so I
think there's no reason to keep it Nightly-only.

I've filed bug 1694146 to turn the pref on everywhere, so lacking
objections or regressions due to the original change it should ship in
Firefox 88.

-- Emilio

On 2/9/21 00:37, Emilio Cobos Álvarez wrote:
> Summary:
>
> Hi,
>
> In bug 315209 I landed a patch to get outlines to follow the
> border-radius of the element automatically. It should be enabled in
> Nightly for now.
>
> There's some (a lot) of context in the bug, but TLDR:
>
> * Long-standing request.
>
> * Safari does this for outline-style: auto, and we will too, with the
> new non-native theme, so it seems like being consistent would be worth it.
>
> * We have -moz-outline-radius to control the outline radius, but authors
> don't use it, and that makes outlines look worse, generally. It is also
> not standard, so it'd be great to get rid of it eventually.
>
> Pref: layout.css.outline-follows-border-radius.enabled
>
> Standard: https://drafts.csswg.org/css-ui-4/#outline-color
>
>> The parts of the outline are not required to be rectangular. To the
> extent that the outline follows the border edge, it should follow the
> border-radius curve.
>
> DevTools bug: N/A, I think.
>
> Other browsers:
>
> * Safari: Shipped (for auto-style outlines) since ~forever.
> * Chromium: N/A, though they have an slightly rounded auto-style outline.
>
> web-platform-tests: I can upstream a couple of the existing reftests
> that we had for outline-radius etc to WPT.
>
> Cheers,
>
>  -- Emilio
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
0 new messages