Bug 16673 - <canvas> lacks toDataURL()
Summary: <canvas> lacks toDataURL()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL: http://www.whatwg.org/specs/web-apps/...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2007-12-30 00:18 PST by Ilmari Heikkinen
Modified: 2008-03-07 19:10 PST (History)
0 users

See Also:


Attachments
Testcase for toDataURL() (335 bytes, text/html)
2007-12-30 00:19 PST, Ilmari Heikkinen
no flags Details
patch (306.03 KB, patch)
2008-03-07 16:45 PST, Sam Weinig
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilmari Heikkinen 2007-12-30 00:18:48 PST
The canvas element has no toDataURL() method, making it difficult to save the contents of a canvas.

http://www.whatwg.org/specs/web-apps/current-work/multipage/section-the-canvas.html#todataurl
Comment 1 Ilmari Heikkinen 2007-12-30 00:19:22 PST
Created attachment 18182 [details]
Testcase for toDataURL()
Comment 2 Sam Weinig 2008-03-07 16:45:06 PST
Created attachment 19600 [details]
patch
Comment 3 Oliver Hunt 2008-03-07 18:15:48 PST
Comment on attachment 19600 [details]
patch

Woo!
Comment 4 Sam Weinig 2008-03-07 19:10:22 PST
Landed in r30888.