[Webkit-unassigned] [Bug 25920] New: Canvas drawImage does not support video

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 21 02:02:03 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25920

           Summary: Canvas drawImage does not support video
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: deanm at chromium.org
                CC: eric at webkit.org, oliver at apple.com


According to the HTML5 spec, drawImage() should accept an HTMLVideoElement.

The current set of methods looks like:

        void drawImage(HTMLImageElement*, float x, float y);
        void drawImage(HTMLImageElement*, float x, float y, float width, float
height, ExceptionCode&);
        void drawImage(HTMLImageElement*, const FloatRect& srcRect, const
FloatRect& dstRect, ExceptionCode&);
        void drawImage(HTMLCanvasElement*, float x, float y);
        void drawImage(HTMLCanvasElement*, float x, float y, float width, float
height, ExceptionCode&);
        void drawImage(HTMLCanvasElement*, const FloatRect& srcRect, const
FloatRect& dstRect, ExceptionCode&);


It looks like 3 new variants of drawImage should be added for HTMLVideoElement,
and then javascript bindings should be updated.


-- 
Configure bugmail: https://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