You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-ui-4] influence of outline-width on auto style outlines #9201
CSS-UI claims that it's up to user agents to determine whether and how outline-width influences the rendering of outlines with outline-style auto.
However, this is problematic, for the similar reasons as discussed about color in #7761:
outline: auto sets outline-style to auto and outline-width to medium, and medium means 3px.
The default UA sheet in the HTML spec has :focus-visible { outline: auto; }, and so, in browsers that want to take outline-width into account, it effectively calls for the default rendering of focus outlines to be native outlines somehow tweaked to be 3px wide. That seems unfortunate.
I think we should either:
remove the claim that outline-width is allowed to influence the rendering of auto style outlines.
similarly to what we did in [css-ui] Tweaking outline-style: auto colors. #7761, allow outline-width to influence the rendering of auto style outlines, but to make that work sensibly, add an auto initial value to outline-width which computes to medium when outline-style is anything but auto, but lets auto style outlines render at their natural size unless the author has explicitly called for something else.
The CSS Working Group just discussed [css-ui-4] influence of outline-width on auto style outlines, and agreed to the following:
RESOLVED: Remove the claim that outline-width influences the rendering of auto style outlines
The full IRC log of that discussion
<dael> astearns: This was florian
<dael> TabAtkins: Look straightforward
<dael> astearns: Prop: Remove the claim that outline-width influences the rendering
<dael> astearns: Obj?
<dael> astearns: Prop: Remove the claim that outline-width influences the rendering of auto-style outlines
<dael> RESOLVED: Remove the claim that outline-width influences the rendering of auto style outlines
Activity
Loirooriol commentedon Aug 16, 2023
Does any browser let
outline-widthaffect the size auto outlines?frivoal commentedon Aug 25, 2023
As far as I know, neither Safari, Firefox, nor Chrome do it.
As far as my tests could confirm, the only print formatter which does is BFO Publisher.
@faceless2 is this something that matters to you?
faceless2 commentedon Aug 25, 2023
If it looks like it might matter to us, it's almost certainly a bug 😁 I thought we simply treated
autoassolid- no impact on width at all.Loirooriol commentedon Aug 25, 2023
If you treat
autoassolid, then it's normal for it to be affected byoutline-width. Same for Servo.I was referring to the native outlines.
frivoal commentedon Aug 30, 2023
Agenda+ to propose removing the claim that
outline-widthis allowed to influence the rendering of auto style outlinescss-meeting-bot commentedon Nov 1, 2023
The CSS Working Group just discussed
[css-ui-4] influence of outline-width on auto style outlines, and agreed to the following:RESOLVED: Remove the claim that outline-width influences the rendering of auto style outlinesThe full IRC log of that discussion
<dael> astearns: This was florian<dael> TabAtkins: Look straightforward
<dael> astearns: Prop: Remove the claim that outline-width influences the rendering
<dael> astearns: Obj?
<dael> astearns: Prop: Remove the claim that outline-width influences the rendering of auto-style outlines
<dael> RESOLVED: Remove the claim that outline-width influences the rendering of auto style outlines
[css-ui] outline-width is ignored when outline-style is auto
[css-ui] outline-width is ignored when outline-style is auto
[css-ui-4] outline-width is ignored when outline-style is auto
13 remaining items
Bug 1863448 [wpt PR 42988] - [css-ui] outline-width is ignored when o…
Bug 1863448 [wpt PR 42988] - [css-ui] outline-width is ignored when o…
Bug 1863448 [wpt PR 42988] - [css-ui] outline-width is ignored when o…
Bug 1863648 [wpt PR 43010] - [css-ui] Allow outline-style:auto to be …
Bug 1863648 [wpt PR 43010] - [css-ui] Allow outline-style:auto to be …
Bug 1863648 [wpt PR 43010] - [css-ui] Allow outline-style:auto to be …
Bug 1863648 [wpt PR 43010] - [css-ui] Allow outline-style:auto to be …
Bug 1863648 [wpt PR 43010] - [css-ui] Allow outline-style:auto to be …
Bug 1863648 [wpt PR 43010] - [css-ui] Allow outline-style:auto to be …
Bug 1863648 [wpt PR 43010] - [css-ui] Allow outline-style:auto to be …
Bug 1863448 [wpt PR 42988] - [css-ui] outline-width is ignored when o…
Bug 1863448 [wpt PR 42988] - [css-ui] outline-width is ignored when o…
Bug 1863648 [wpt PR 43010] - [css-ui] Allow outline-style:auto to be …