[Webkit-unassigned] [Bug 230813] New: Toggling display:none on a video element is delayed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 26 20:02:08 PDT 2021


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

            Bug ID: 230813
           Summary: Toggling display:none on a video element is delayed
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: samuel.wemyss at gmail.com

Created attachment 439303

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

Reduced test case showcasing the issue

Safari 15. Though I believe it still occurs on 14 and lower.

Issue:

When toggling display on a parent container of a video there is a visual glitch:

none -> block: The red background will render, then the video will appear. Happens less frequently
block -> none: The video will disappear immediately but the red background will remain for a frame before being removed. This case is much more frequent than the former and can be repeatedly triggered without refreshing.

This can be reproduced in the minimal test case attached.


Expected:
That the video and the red background appear and disappear simultaneously. Same as other browsers.

-- 
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/20210927/5ecebf60/attachment-0001.htm>


More information about the webkit-unassigned mailing list