Bug 252594

Summary: Applying container-type: inline-size to video causes intrinsic size to change during layout which triggers assert
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

Description Sammy Gill 2023-02-20 12:05:16 PST
Created attachment 465092 [details]
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.
Comment 1 Radar WebKit Bug Importer 2023-02-27 12:06:21 PST
<rdar://problem/105989184>