[Webkit-unassigned] [Bug 221542] New: globalCompositeOperation = "source-in" not working with video as destination

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 02:57:05 PST 2021


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

            Bug ID: 221542
           Summary: globalCompositeOperation = "source-in" not working
                    with video as destination
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nguyenhongphat28121998 at gmail.com
                CC: dino at apple.com

Created attachment 419570

  --> https://bugs.webkit.org/attachment.cgi?id=419570&action=review

Expect

Step 1: draw an image with transparent background on canvas
Step 2: set globalCompositeOperation = "source-in"
Step 3: draw video on canvas

Expected: video is clipped inside image
Actual: all video is draw on canvas, no clip

Demo: https://nguyenhongphat0.github.io/demo-bug-reporting/safari-source-in-video-issue/with-video.html
The above demo is working as expected on Chrome/Firefox. On Safari it's not working

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210208/12a56543/attachment-0001.htm>


More information about the webkit-unassigned mailing list