W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] CSS canvas() function

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 2 Dec 2010 16:00:54 -0800
Message-ID: <AANLkTikpLjOr_JUh5pS72CXx2pPm_rL5j80TGKFXK_3_@mail.gmail.com>
On Thu, Dec 2, 2010 at 3:55 PM, Robert O'Callahan <robert at ocallahan.org> wrote:
> I think we could spec the following cases:
> 1) <img> containing a fully loaded image; size is the intrinsic size of the
> image
> 2) <video> when it's displaying a video or fully loaded poster image; size
> is the intrinsic size of the video or poster image
> 3) <canvas>; size is the size of the canvas buffer
>
> We could add <object> and <embed> to the list, for the cases where they
> contain a plugin or a fully loaded image, except I don't know what size
> you'd use. Maybe resolve style, use the resolved width and height if they're
> both lengths, otherwise rendering nothing? I'm not terribly motivated to add
> new features for plugins though.
>
> I think after the behaviour of not-in-document IFRAMEs is properly specced
> out (e.g. defining the viewport size), we could add them here too.

I agree with all of these points.  I don't think it's worthwhile to
define <object> and <embed> right now.

~TJ
Received on Thursday, 2 December 2010 16:00:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC