- From: Manuel Rego Casasnovas via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Apr 2020 06:00:07 +0000
- To: public-css-archive@w3.org
mrego has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-ui] outline-width and "outline-style: auto" == All browsers ignore `outline-width` when `outline-style` is `auto`. Examle: ```data:text/html,<style>div { outline: auto 10px; background: silver; width: 200px; height: 200px;}</style><div></div>``` The [spec talks about `outline-color`](https://drafts.csswg.org/css-ui/#typedef-outline-line-style): > As such, this specification does not define how the outline-color is incorporated or used (if at all) when rendering auto style outlines. BTW, Chromium and WebKit respect the `outline-color` while Firefox ignores it, in the case of `outline-style` is `auto`. However it doesn't mention anything about `outline-width`. But all browsers ignore it when `outline-style` is `auto`. Should we add something to the spec so `outline-width` is ignored with `outline-style: auto`? or is optional? or something else? There was a bug report on the topic in Chromium: https://crbug.com/945181 About that bug the `outline-offset` thing is going to be fixed, but this issue is to have a separated discussion for `outline-width`. I'm wondering if the spec should be very specific and mention which properties apply and which are ignored when you set `outline-style: auto`: `outline-color`, `outline-width` and `outline-offset`. Also probably it should also be explicit about following or not border-radius in that case (see #4671). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4925 using your GitHub account
Received on Tuesday, 7 April 2020 06:00:10 UTC