11

I understand it's deprecated in FireFox, and its replacement is currentColor. My impression is that it's used for SVG-related stuff. But what the heck is it? :)

arxpoetica
  • 4,841
  • 3
  • 30
  • 35

2 Answers2

18

It's not really for SVG-related stuff.

It does the same as currentColor, e.g.:

a {
  color:purple;
  outline-color:-moz-use-text-color;
}

It was a mozilla specific CSS thing until it became standardized (CSS3)

adamJLev
  • 13,713
  • 11
  • 60
  • 65
6

Just a follow up on this, it is deprecated, and the correct usage would be something more along the lines of:

.style {
    outline-color:currentColor;
}
arxpoetica
  • 4,841
  • 3
  • 30
  • 35