W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

[whatwg] SVG extensions to <canvas>

From: ddailey <ddailey@zoominternet.net>
Date: Sat, 27 Oct 2007 08:44:25 -0400
Message-ID: <001e01c81897$1b395690$6501a8c0@disxgdg31szkx7>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:58 UTC