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: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 23 Aug 2010 14:44:58 -0700
Message-ID: <4C72EBDA.6030902@inkedblade.net>
To: Kevin Ar18 <kevinar18@hotmail.com>
CC: schepers@w3.org, codedread@gmail.com, tonyschr@microsoft.com, chris@w3.org, public-fx@w3.org
On 08/23/2010 01:49 PM, Kevin Ar18 wrote:
>
>
> Are you suggestiong the HTML spec be changed to say that svg is a
> replaced element?

I have no idea what the HTML spec means by "replaced element". The
CSS specs have their own definition, which is here:
   http://www.w3.org/TR/CSS21/conform.html#replaced-element
and under which the <svg> element clearly falls.

> BTW, would a replaced element still be a part of the HTML DOM Tree
> in the same way svg currently is? 		 	   		

Yes. CSS has no effect on the DOM, therefore nothing in its specs
should be interpreted as affecting the DOM.

~fantasai
Received on Monday, 23 August 2010 21:45:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 August 2010 21:45:34 GMT