[whatwg] SVG extensions to <canvas>

Presumably if the SVG document contained an object such as
<rect x="0%" y="0%" width="100%" height="100%" fill="red" />
then, that object would scale to fit the HTML tag that contains it.

At least, I think that's how it works for <embed> , <object> and <iframe>.

David Dailey
----- Original Message ----- 
From: "Devi Web Development" <devi.webmaster@gmail.com>
To: <whatwg at whatwg.org>
Sent: Saturday, October 27, 2007 12:41 AM
Subject: Re: [whatwg] SVG extensions to <canvas>


> While you could say a raster image has an intrinsic size (I have no
> idea what the formal definition of this phrase is), SVGs *explicitly*
> state their size. To change the size, you would actually be violating
> the content of the image file itself. I think the best way to
> understand this would be to look over what an SVG is. The vectors are
> given a scale within the file, not externally.
> 
> -------------------------------------------
> Daniel Brumbaugh Keeney
> Devi Web Development
> Devi.WebMaster at gMail.com
> -------------------------------------------
> 
>

Received on Saturday, 27 October 2007 05:44:25 UTC