The var() is black, while the text inside is highlighted correctly as a property now.
<rdar://problem/24726136>
"var" is in the valueKeywords_ array in External/CodeMirror/css.js, so it seems like it should just work. "calc" is in the same array, and appears correctly.
We replace CodeMirrors valueKeywords in WebInspector.CSSCompletions.requestCSSCompletions.
Created attachment 271796 [details] [Patch] Proposed Fix
Comment on attachment 271796 [details] [Patch] Proposed Fix Clearing flags on attachment: 271796 Committed r196843: <http://trac.webkit.org/changeset/196843>
All reviewed patches have been landed. Closing bug.