W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] SVG extensions to <canvas>

From: Giovanni Campagna <scampa.giovanni@gmail.com>
Date: Tue, 5 May 2009 13:35:47 +0200
Message-ID: <65307430905050435x5d16050akab3f14d9251797cf@mail.gmail.com>
2009/5/5 Robert O'Callahan <robert at ocallahan.org>:
> On Mon, May 4, 2009 at 7:26 AM, Giovanni Campagna
> <scampa.giovanni at gmail.com> wrote:
>>
>> <svg> has an intrinsic size (like <video>,<img>, and
>> <embed>/<object>), the other have not.
>
> <video> and <img> usually have intrinsic sizes, but
> <embed>/<object>/<iframe> usually don't. <svg> often does and often does
> not.

What is embed used for? Flash and videos. Both have intrinsic sizes
What is object used for? Videos, Java applets and Silverlight. They
all have intrinsic sizes.
Basically, for what concerns rendering (the element being "replaced"
in the CSS meaning of term), <img>,<embed>,<object>,<svg> have
intrinsic sizes (they may be rescaled, but this is ortogonal)

Note that I didn't include <iframe> in this list, because it could be
rendered as if the child document contents were inside the parent
document, within the <iframe> (auto height given by elements content);
or it could be rendered as a window, with intrinsic sizes given by
width/height.

> Rob
> --
> "He was pierced for our transgressions, he was crushed for our iniquities;
> the punishment that brought us peace was upon him, and by his wounds we are
> healed. We all, like sheep, have gone astray, each of us has turned to his
> own way; and the LORD has laid on him the iniquity of us all." [Isaiah
> 53:5-6]
>

Giovanni
Received on Tuesday, 5 May 2009 04:35:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:48 UTC