Re: [csswg-drafts] [css-color][css-ui] Better Fallback for outline-color: invert (#4611)

This might create an infinite loop then:

~~~~ css
foo {
  color: invert;
  background-color: currentcolor;
}
~~~~

PS: CSS UI implies external knowledge about exactly what it means to _invert a color_, probably `rgb(calc(100% - red(currentcolor)) calc(100% - green(currentcolor)) calc(100% - blue(currentcolor)) / currentcolor.alpha)`.

-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4611#issuecomment-566788771 using your GitHub account

Received on Tuesday, 17 December 2019 23:04:06 UTC