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>

   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:
which links to <color> here:
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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:03 UTC