Re: viewport units in SVG

On Wed, Jul 23, 2014 at 10:54 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 7/23/14, 11:19 AM, Chris Lilley wrote:
>> 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)
>
> What do UAs actually do here right now?

Chrome appears to process them relative to the outer viewport.  (I
doubt that's particularly intentional, but whatever.)

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3077

~TJ

Received on Wednesday, 23 July 2014 21:31:02 UTC