Bug 16673

Summary: <canvas> lacks toDataURL()
Product: WebKit Reporter: Ilmari Heikkinen <ilmari.heikkinen>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement Keywords: HasReduction
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
URL: http://www.whatwg.org/specs/web-apps/current-work/multipage/section-the-canvas.html#todataurl
Attachments:
Description Flags
Testcase for toDataURL()
none
patch oliver: review+

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.