WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
18562
Fire an event when a canvas is about to be used for the first time
https://bugs.webkit.org/show_bug.cgi?id=18562
Summary
Fire an event when a canvas is about to be used for the first time
Timothy Hatcher
Reported
2008-04-17 19:36:09 PDT
The new CSS canvas support could use an event that fires when the canvas is going to be used for the first time. This would allow delayed drawing of a canvas, since some canvases might never be used (like ones in :hover, :active rules). Without this event, developers are required to front-load the drawing work on page load or some other known time before the canvas might be used. Allowing the drawing to be delayed until first use also lowers memory since the buffer should be allocated when getCSSCanvasContext() is called. This event could also fire for canvas elements.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug