https://bugzilla.mozilla.org/show_bug.cgi?id=1791051 shows an interesting interop difference: https://jsfiddle.net/ht85jacp/
- Firefox allows customizing auto-style outline using
accent-color.
- Chrome allows that using
outline-color.
- WebKit doesn't allow that.
I can provide some reasoning to why I implemented the Firefox behavior. outline-style: auto is intended to be the OS accent color by default. It behaves more like appearance: auto form control borders, so using outline-color would be rather weird. On the flip side, using border-color on form controls disables native appearance altogether, so maybe it's not that weird.
I have a preference for Gecko's behavior, but I'd be happy to listen to reasoning from Chrome's folks about why they honor outline-color instead... I think part of the issue I don't love it is because outline: auto would set outline-color: currentColor, which seems pretty unfortunate.
https://bugzilla.mozilla.org/show_bug.cgi?id=1791051 shows an interesting interop difference: https://jsfiddle.net/ht85jacp/
accent-color.outline-color.I can provide some reasoning to why I implemented the Firefox behavior.
outline-style: autois intended to be the OS accent color by default. It behaves more likeappearance: autoform control borders, so usingoutline-colorwould be rather weird. On the flip side, usingborder-coloron form controls disables native appearance altogether, so maybe it's not that weird.I have a preference for Gecko's behavior, but I'd be happy to listen to reasoning from Chrome's folks about why they honor
outline-colorinstead... I think part of the issue I don't love it is becauseoutline: autowould setoutline-color: currentColor, which seems pretty unfortunate.