RE: Definition of a replaced element

Hmm, that behavior is suspicious. I think that CSS should apply to the
whole document and inherit across all elements - no matter what
namespace those elements are in. CSS properties may have no effect for
some grammars (but SVG is not one of those). SVG content is not rendered
by CSS formatter, but otherwise I see no reason why CSS should not
inherit into SVG "islands". (The situation would be different for SVG
referenced through the object tag, of course).

Peter

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
Behalf Of Mike Bremford
Sent: Wednesday, January 03, 2007 5:57 AM
To: www-style
Subject: Re: Definition of a replaced element


[snip]

* it doesn't inherit attributes from outside the <svg>...</svg> tags.

It is an entirely seperate document, and the fact that it uses CSS  
attributes internally is coincidental and makes no difference to how  
it's positioned by the CSS formatter that is your browser.


Cheers... Mike

Received on Wednesday, 3 January 2007 20:27:07 UTC