W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2010

Re: How does the svg element handle CSS border and background-color?

From: Doug Schepers <schepers@w3.org>
Date: Sat, 21 Aug 2010 22:05:26 -0400
Message-ID: <4C7085E6.1060101@w3.org>
To: fantasai <fantasai.lists@inkedblade.net>
CC: public-fx@w3.org
Hi, fantasai-

fantasai wrote (on 8/21/10 7:28 PM):
>
> I would just say that the <svg> element is considered a replaced
> element as far as its surrounding contents are concerned, and any
> CSS values set on it apply exactly as if applied to a replaced
> element. And note that in some cases those values may also affect
> the SVG, e.g. 'color' will inherit into the SVG content.

Would this apply equally for both referenced SVG and inline SVG?

Where would the right place to reference in the most recent appropriate 
draft of which CSS spec?

Regards-
-Doug Schepers
W3C Team Contact, SVG and WebApps WGs
Received on Sunday, 22 August 2010 02:05:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 August 2010 02:05:32 GMT