W3C home > Mailing lists > Public > www-style@w3.org > January 2007

RE: Definition of a replaced element

From: Peter Sorotokin <psorotok@adobe.com>
Date: Wed, 3 Jan 2007 12:26:56 -0800
Message-ID: <40CE68F1F8CAFB48B998C328517EA92A01400595@namail2.corp.adobe.com>
To: "Mike Bremford" <mike-css@bfo.co.uk>, "www-style" <www-style@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:49 GMT