W3C home > Mailing lists > Public > www-style@w3.org > August 2009

RE: [css3-color] currentColor?

From: David Perrell <davidp@hpaa.com>
Date: Tue, 18 Aug 2009 10:58:36 -0700
To: <www-style@w3.org>
L. David Baron wrote:
| Actually, though, the style that really matches the rest of CSS is
| 'current-color', which would actually break all consumers, since
| it's a difference of more than just case.  (Likewise for the values
| of 'text-rendering', 'image-rendering', 'pointer-events', etc.)

In 'Backgrounds and Borders' module, 'currentcolor' looks...unusual. In 'Color' module, 'currentColor' looks like a mistake, given the convention of hyphenated property names taking that style when accessed through the DOM.

Since SVG has no hyphenated keywords, is it not trivial for SVG to translate from hyphenated into lowerCamelCase?

Whatever, it should be spelled the same wherever it appears in CSS.

David Perrell
Received on Tuesday, 18 August 2009 17:59:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC