- From: Cameron McCormack <cam@mcc.id.au>
- Date: Fri, 19 Aug 2011 10:36:30 +1200
- To: Brian Manthos <brianman@microsoft.com>
- CC: "www-style@w3.org" <www-style@w3.org>
Seattle 2011 F2F minutes: > * 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) On 19/08/11 9:17 AM, Brian Manthos wrote: > 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). It's true that SVG 1.1's <color> definition doesn't technically allow rgba() colours, but it would be interesting to see what implementations do with it currently to know whether this is compatible with Image Values' definitions. Also whether this behaviour is the same as an SVG gradient where some stops have non-zero stop-opacity property values.
Received on Thursday, 18 August 2011 22:36:59 UTC