-
Notifications
You must be signed in to change notification settings - Fork 715
[css-ui-4] influence of outline-width on auto style outlines #9201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Does any browser let |
As far as I know, neither Safari, Firefox, nor Chrome do it. @faceless2 is this something that matters to you? |
If it looks like it might matter to us, it's almost certainly a bug 😁 I thought we simply treated |
If you treat I was referring to the native outlines. |
Agenda+ to propose removing the claim that |
The CSS Working Group just discussed
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 |
I disagree with the test. We (Servo) do not intend to treat Please change the test to also accept a different expectation with |
@Loirooriol , good point. Made a follow up PR to adjust the test, review appreciated: web-platform-tests/wpt#43010 |
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988
…3010) In response to w3c/csswg-drafts#9201 (comment) Co-authored-by: Oriol Brufau <obrufau@igalia.com>
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988 UltraBlame original commit: 120c6ca2e7ffbf097de267bd7183339c2d4d9f9b
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988 UltraBlame original commit: 120c6ca2e7ffbf097de267bd7183339c2d4d9f9b
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988 UltraBlame original commit: 120c6ca2e7ffbf097de267bd7183339c2d4d9f9b
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988 UltraBlame original commit: f372f13f23531af08c8f4786a858d2d352db8d1a
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988 UltraBlame original commit: f372f13f23531af08c8f4786a858d2d352db8d1a
…utline-style is auto, a=testonly Automatic update from web-platform-tests [css-ui] outline-width is ignored when outline-style is auto See w3c/csswg-drafts#9201 -- wpt-commits: f30784e70ca6582f3d705ce309082c4271375116 wpt-pr: 42988 UltraBlame original commit: f372f13f23531af08c8f4786a858d2d352db8d1a
…process the same as solid, a=testonly Automatic update from web-platform-tests [css-ui] Allow outline-style:auto to be process the same as solid (#43010) In response to w3c/csswg-drafts#9201 (comment) Co-authored-by: Oriol Brufau <obrufau@igalia.com> -- wpt-commits: 9d3be8a51be474e3fd9a6b96d2432df1ef22f333 wpt-pr: 43010
…process the same as solid, a=testonly Automatic update from web-platform-tests [css-ui] Allow outline-style:auto to be process the same as solid (#43010) In response to w3c/csswg-drafts#9201 (comment) Co-authored-by: Oriol Brufau <obrufau@igalia.com> -- wpt-commits: 9d3be8a51be474e3fd9a6b96d2432df1ef22f333 wpt-pr: 43010
…process the same as solid, a=testonly Automatic update from web-platform-tests [css-ui] Allow outline-style:auto to be process the same as solid (#43010) In response to w3c/csswg-drafts#9201 (comment) Co-authored-by: Oriol Brufau <obrufau@igalia.com> -- wpt-commits: 9d3be8a51be474e3fd9a6b96d2432df1ef22f333 wpt-pr: 43010
…process the same as solid, a=testonly Automatic update from web-platform-tests [css-ui] Allow outline-style:auto to be process the same as solid (#43010) In response to w3c/csswg-drafts#9201 (comment) Co-authored-by: Oriol Brufau <obrufau@igalia.com> -- wpt-commits: 9d3be8a51be474e3fd9a6b96d2432df1ef22f333 wpt-pr: 43010
…process the same as solid, a=testonly Automatic update from web-platform-tests [css-ui] Allow outline-style:auto to be process the same as solid (#43010) In response to w3c/csswg-drafts#9201 (comment) Co-authored-by: Oriol Brufau <obrufauigalia.com> -- wpt-commits: 9d3be8a51be474e3fd9a6b96d2432df1ef22f333 wpt-pr: 43010 UltraBlame original commit: 999a7f8fde7054212a2068566d155b118a35f828
…process the same as solid, a=testonly Automatic update from web-platform-tests [css-ui] Allow outline-style:auto to be process the same as solid (#43010) In response to w3c/csswg-drafts#9201 (comment) Co-authored-by: Oriol Brufau <obrufauigalia.com> -- wpt-commits: 9d3be8a51be474e3fd9a6b96d2432df1ef22f333 wpt-pr: 43010 UltraBlame original commit: 999a7f8fde7054212a2068566d155b118a35f828
…process the same as solid, a=testonly Automatic update from web-platform-tests [css-ui] Allow outline-style:auto to be process the same as solid (#43010) In response to w3c/csswg-drafts#9201 (comment) Co-authored-by: Oriol Brufau <obrufauigalia.com> -- wpt-commits: 9d3be8a51be474e3fd9a6b96d2432df1ef22f333 wpt-pr: 43010 UltraBlame original commit: 999a7f8fde7054212a2068566d155b118a35f828
Uh oh!
There was an error while loading. Please reload this page.
CSS-UI claims that it's up to user agents to determine whether and how
outline-width
influences the rendering of outlines withoutline-style
auto.However, this is problematic, for the similar reasons as discussed about color in #7761:
outline: auto
setsoutline-style
toauto
andoutline-width
tomedium
, andmedium
means3px
.The default UA sheet in the HTML spec has
:focus-visible { outline: auto; }
, and so, in browsers that want to takeoutline-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:
outline-width
is allowed to influence the rendering of auto style outlines.outline-width
to influence the rendering of auto style outlines, but to make that work sensibly, add anauto
initial value tooutline-width
which computes tomedium
whenoutline-style
is anything butauto
, but lets auto style outlines render at their natural size unless the author has explicitly called for something else.The text was updated successfully, but these errors were encountered: