Re: viewport units in SVG

> On Jul 23, 2014, at 1:41 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
> 
>> On Wed, Jul 23, 2014 at 8:19 AM, Chris Lilley <chris@w3.org> wrote:
>> Wednesday, July 23, 2014, 4:25:31 PM, you wrote:
>>> (It applies
>>> to MQs too, etc.)  This means that a *linked* SVG, via <iframe> or
>>> <img> or the like, would use the linking element's dimensions to
>>> define its viewport units, but an inline SVG would use the outer
>>> document.  This seems fine to me.
>> 
>> Yes.
>> 
>> Furthermore, HTML (or whatever)styled with CSS box model, inside SVG
>> foreignObject, would use the size of the foreignObject viewport to
>> define its viewport units (like the iframe case)  and also as the size
>> of its outermost containing block.
> 
> Yeah, <foreignObject> is basically an inline-markup iframe.
> 
> ~TJ
> 

http://www.xqib.org/index.php

E-S4L

Received on Thursday, 24 July 2014 22:36:35 UTC