No support for CSS outline-color: invert
Reported by
impressi...@gmail.com,
Jun 15 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36 Example URL: https://jsbin.com/pozopi/edit?html,css,output Steps to reproduce the problem: 1. Set the outline-color property to a value of "invert" What is the expected behavior? The spec explains: "Invert is expected to perform a color inversion on the pixels on the screen. This is a common trick to ensure the focus border is visible, regardless of color background." See: https://drafts.csswg.org/css-ui-3/#outline-color Note that "invert" is also listed as the initial value for this property, so it should appear by default when a color is not defined. What went wrong? The computed value of the outline-color is rgba(0,0,0,0), which is transparent. Does it occur on multiple sites: N/A Is it a problem with a plugin? N/A Did this work before? No Does this work in other browsers? N/A Chrome version: 51.0.2704.84 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 21.0 r0 Works in IE11, and used to work in Opera prior to Chromium/Blink.
,
Jun 16 2016
Able to reproduce this on the latest canary(53.0.2768.0) on Windows-7, Mac OS 10.11.5 and Linux Ubuntu 14.04. Looks like only IE supports this as of now. Older chrome version: 30.0.1549.0 shows black background. Marking this Untriaged and labelling accordingly for more inputs on this.
,
Jun 16 2016
I don't think we intend to implement this, paint folks could you confirm?
,
Jun 16 2016
chrishtr@ and pdr@ for an opinion on implementing this.
,
Jun 17 2016
Because this is only implemented in Edge now, I would lean towards pushing for removal so all browsers are consistent. The usecase does make sense to me but it can be achieved in other ways, and consistent behavior in all browsers seems more important than a special-case for outline.
,
Jul 5 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 23 2016
https://github.com/w3c/csswg-drafts/issues/423 Closing this issue as WontFix, due to desire not to have the feature in the spec. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by impressi...@gmail.com
, Jun 15 2016