New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 620399 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
NOT IN USE
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

If outline-color: invert is not supported, it should compute to currentColor

Reported by impressi...@gmail.com, Jun 15 2016

Issue description

UserAgent: 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/qatepo/edit?html,css,output

Steps to reproduce the problem:
1. Set an element's color using the color property in the CSS
2. Set an element's outline-color property to "invert" (ensuring also that the outline-width and outline-style is set)

What is the expected behavior?
The outline color should compute to the currentColor.

What went wrong?
The outline color computes to transparent - rgba(0,0,0,0).

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? No Firefox 47

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

The spec explains:

> If the UA does not support the invert value then it must reject that value at parse-time, and the initial value of the outline-color property is the currentColor keyword.

See: https://drafts.csswg.org/css-ui-3/#outline-color
 
Further on this, it looks like this also happens when using the longhand properties:

https://jsbin.com/rogomuh/edit?html,css,output

Firefox renders differently in this case.
Components: -Blink Blink>CSS

Comment 3 by nainar@chromium.org, Jun 17 2016

Labels: Needs-Bisect
Status: Untriaged (was: Unconfirmed)
Cc: nyerramilli@chromium.org
Labels: -Type-Bug -Needs-Bisect M-53 OS-Linux OS-Mac Type-Bug-Regression
Thanks for the report.

CL:
https://chromium.googlesource.com/chromium/src/+log/39.0.2150.0..39.0.2151.0?pretty=fuller&n=10000

Blink CL:
https://chromium.googlesource.com/chromium/blink/+log/09bd97099a92cf983363f8db6c6c2178b0cd7c6a..dc9e4a55d37d35200e733b12fadca553f353123d
https://chromium.googlesource.com/chromium/blink/+log/86ce4af33b763b24cf2365d8cd19a2ebade676c3..09bd97099a92cf983363f8db6c6c2178b0cd7c6a


Good Build: 39.0.2150.0
Bad Build: 39.0.2151.0

Not able to get the version information using omahaproxy, showing this message, hence provided manual bisect info
"The requested version information could not be found at this time. An exception has been logged for the maintainer."
Unable to find the exact culprit, requesting Dev team to help.


Note: Able to repro using Chrome 51.0.2704.103, Beta 52.0.2743.41, Dev 53.0.2767.4 and Canary 53.0.2772.0 on Win7, Mac OS X 10.11.5, Ubuntu 14.04
Attached screenshot for reference, please check and let me know if I am missing something. 

620399_Win7.jpg
211 KB View Download

Comment 5 by r...@opera.com, Jun 20 2016

Owner: r...@opera.com
Status: Started (was: Untriaged)

Comment 7 by r...@opera.com, Jun 20 2016

The spec reference is right, but the test-case is wrong. We should not make invert currentColor, but drop declarations with the invert keyword. The reference to the initial value being currentColor is about the initial value in the spec which is "invert".

Comment 9 by r...@opera.com, Jun 21 2016

Status: Fixed (was: Started)

Sign in to add a comment