[whatwg] CSS canvas() function
Tab Atkins Jr.
jackalmage at gmail.com
Thu Dec 2 16:00:54 PST 2010
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
More information about the whatwg
mailing list