[whatwg] SVG extensions to <canvas>

Giovanni Campagna scampa.giovanni at gmail.com
Tue May 5 04:35:47 PDT 2009


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



More information about the whatwg mailing list