This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21346 - <canvas>: Have ImageBitmap expose height and width attributes
Summary: <canvas>: Have ImageBitmap expose height and width attributes
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 enhancement
Target Milestone: Needs Impl Interest
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 09:09 UTC by contributor
Modified: 2014-05-15 23:02 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-03-20 09:09:35 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html
Multipage: http://www.whatwg.org/C#imagebitmap
Complete: http://www.whatwg.org/c#imagebitmap

Comment:
[canvas] Would it not be nice to have ImageBitmap expose its width/height?
Currently you would have to keep track of them and send them along yourself if
you need to know the width/height.

Posted from: 212.247.211.195
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.8.3) Presto/2.12.388 Version/12.14
Comment 1 Ian 'Hixie' Hickson 2013-04-01 18:29:46 UTC
Any browsers want to implement this?
Comment 2 Justin Novosad 2013-07-17 21:27:57 UTC
This is me manifesting implementor interest. 

Implementing this addition is trivial, and the convenience for web devs is clear.
Comment 3 Ian 'Hixie' Hickson 2014-05-15 23:02:39 UTC
This ended up being fixed a while back.