W3C home > Mailing lists > Public > www-svg@w3.org > August 2005

Re: SVG12: svg in foreignObject

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 21 Aug 2005 12:28:24 -0400
To: www-svg@w3.org
Message-ID: <20050821162824.GA20574@ridley.dbaron.org>
On Sunday 2005-08-21 18:20 +0200, Chris Lilley wrote:
> 
> On Sunday, April 24, 2005, 7:27:38 PM, Bjoern wrote:
> BH>   From http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/extend.html
> BH> section 19.2
> 
> BH> [...]
> BH>   The contents of 'foreignObject' are assumed to be from a different
> BH>   namespace. Any SVG elements within a 'foreignObject' will not be
> BH>   drawn, except in the situation where a properly defined SVG
> BH>   subdocument with a proper xmlns (see "Namespaces in XML 1.1" [XML-NS])
> BH>   attribute specification is embedded recursively.
> BH> [...]
> 
> BH> This seems to allow
> 
> BH>   <svg ...>
> BH>      <foreignObject ...>
> BH>        <svg ...>
> 
> BH> which seems prohibed by the schema.
> 
> It is prohibited by the schema, you are correct that this is not
> desired. The spec has been altered by removing the text after 'drawn' so
> that the sentence ends there.

Shouldn't it instead say that any SVG element *children* of a
'foreignObject' will not be drawn?  That seems like what may have been
intended in the first place.  The revised text appears to prohibit
drawing SVG inside elements of some other language that are inside
foreignObject.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
          Technical Lead, Layout & CSS, The Mozilla Foundation

Received on Sunday, 21 August 2005 16:28:35 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:31 GMT