RE: [css3-color] currentColor?

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