Bug 252594 - Applying container-type: inline-size to video causes intrinsic size to change during layout which triggers assert
Summary: Applying container-type: inline-size to video causes intrinsic size to change...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-20 12:05 PST by Sammy Gill
Modified: 2023-02-27 12:06 PST (History)
4 users (show)

See Also:


Attachments
Testcase (407 bytes, text/html)
2023-02-20 12:05 PST, Sammy Gill
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>