[Webkit-unassigned] [Bug 252594] New: Applying container-type: inline-size to video causes intrinsic size to change during layout which triggers assert

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 20 12:05:16 PST 2023


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

            Bug ID: 252594
           Summary: Applying container-type: inline-size to video causes
                    intrinsic size to change during layout which triggers
                    assert
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sgill26 at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 465092

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

Testcase

Attached a test case. This is causing the intrinsic size to change during layout, which results in:

ASSERTION FAILED: !intrinsicSizeChanged || !view().frameView().layoutContext().isInRenderTreeLayout()

The intrinsic size is first set to the default object size (300px x 150px). Then during layout the inline size gets set to 0px.

-- 
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/20230220/75354900/attachment-0001.htm>


More information about the webkit-unassigned mailing list