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

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 UTC