W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2012

CSS would like to change the definition of currentColor; is this okay with SVG?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 26 Jan 2012 16:01:43 -0800
Message-ID: <CAAWBYDBZNeHkB3NEXfQZt7KXsrt_B96HUN9z=sv_=_Ymz1gSRw@mail.gmail.com>
To: public-fx@w3.org
For context, start with this thread:
<http://lists.w3.org/Archives/Public/www-style/2012Jan/0521.html>

Currently, the currentColor keyword computes to the value of the
'color' property, and then inherits as that color.  CSS would like to
change this so that it computes/inherits as itself, shifting the
actual resolution into a color to used-value time.

This will have no effect on non-inherited properties (unless you
explicitly use 'inherit', which is rare).  It would make it easier to
specify inherited properties that want to match the current text
color, such as text-emphasis-color (which sets the color of emphasis
marks, used in CJK typography).

Is this okay for SVG?

~TJ
Received on Friday, 27 January 2012 00:02:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 January 2012 00:02:36 GMT