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

[css3-images] July F2F minutes comment regarding SVG and non-opaque colors

From: Brian Manthos <brianman@microsoft.com>
Date: Thu, 18 Aug 2011 21:17:34 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17124550@TK5EX14MBXC264.redmond.corp.microsoft.com>
http://lists.w3.org/Archives/Public/www-style/2011Aug/0072.html

   shepazu: At the outset of this effort, there was discussion about remaining
            compatible with SVG  gradients.. was that abandoned?
   TabAtkins: No. SVG doesn't have alpha colors.


   * ed wonders what this meant: "TabAtkins: No. SVG doesn't have alpha colors."

        (most if not all browsers already support rgba/hsla syntax in svg

        colors/gradients, also there's stop-opacity in svg gradients)


I just happened to notice the commentary above.

I believe Tab was referring to this:
http://www.w3.org/TR/SVG/color.html
which links to <color> here:
http://www.w3.org/TR/SVG/types.html#DataTypeColor
which says

# The basic type <color> is a CSS2 compatible specification for a color in the sRGB color space [SRGB<http://www.w3.org/TR/SVG/refs.html#ref-SRGB>].



In short SVG 1.1's <color> maps to CSS2 (which does not include rgba and hsla) rather than CSS3 (which does).
Received on Thursday, 18 August 2011 21:18:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT