Bug 253013

Summary: [contain-intrinsic-size] failures related to replaced elements
Product: WebKit Reporter: cathiechen <cathiechen>
Component: CSSAssignee: cathiechen <cathiechen>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, cathiechen, ntim, obrufau, rbuis, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 236707    
Attachments:
Description Flags
WIP-patch none

Description cathiechen 2023-02-27 11:35:19 PST
There are several issues need to fix.
* There are some special returns for inline size containment. We should avoid it and let intrinsicSize() to handle both size and inline size containment instead.
* For video, when calculateIntrinsicSize(), it should consider contain:inline-size.
* intrinsicSize() should consider the inline size containment scenario.
Comment 1 cathiechen 2023-02-27 11:37:30 PST
Created attachment 465202 [details]
WIP-patch
Comment 2 cathiechen 2023-03-01 11:07:07 PST
Pull request: https://github.com/WebKit/WebKit/pull/10881
Comment 3 Radar WebKit Bug Importer 2023-03-01 12:23:25 PST
<rdar://problem/106100196>
Comment 4 EWS 2023-03-03 19:51:02 PST
Committed 261205@main (43b73e296e50): <https://commits.webkit.org/261205@main>

Reviewed commits have been landed. Closing PR #10881 and removing active labels.