[Webkit-unassigned] [Bug 18562] New: Fire an event when a canvas is about to be used for the first time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 17 19:36:09 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18562

           Summary: Fire an event when a canvas is about to be used for the
                    first time
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timothy at hatcher.name
                CC: hyatt at apple.com


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.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list