Bug 244799

Summary: [css-contain] Fix contain-inline-size-replaced.html
Product: WebKit Reporter: Rob Buis <rbuis>
Component: CSSAssignee: Rob Buis <rbuis>
Status: RESOLVED FIXED    
Severity: Normal CC: changseok, clopez, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, ntim, pdr, webkit-bug-importer, youennf, zalan
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description Rob Buis 2022-09-05 03:23:12 PDT
Fix contain-inline-size-replaced.html.
Comment 1 Rob Buis 2022-09-05 03:25:24 PDT
Created attachment 462140 [details]
Patch
Comment 2 Rob Buis 2022-09-05 12:21:21 PDT
Created attachment 462147 [details]
Patch
Comment 3 Rob Buis 2022-09-06 01:54:58 PDT
Created attachment 462160 [details]
Patch
Comment 4 EWS Watchlist 2022-09-06 01:56:34 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 5 Rob Buis 2022-09-06 06:27:01 PDT
Created attachment 462164 [details]
Patch
Comment 6 Rob Buis 2022-09-06 13:47:24 PDT
Created attachment 462168 [details]
Patch
Comment 7 Tim Nguyen (:ntim) 2022-09-06 23:26:39 PDT
Comment on attachment 462168 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=462168&action=review

r=me

> Source/WebCore/rendering/RenderReplaced.cpp:572
> +    if (shouldApplyInlineSizeContainment())
> +        return { };

You're using `{ }` here and `LayoutUnit()` above, can you be consistent if they're equivalent?
Comment 8 Rob Buis 2022-09-07 01:04:19 PDT
Created attachment 462176 [details]
Patch
Comment 9 Rob Buis 2022-09-07 04:46:15 PDT
Created attachment 462178 [details]
Patch
Comment 10 EWS 2022-09-07 06:13:01 PDT
Committed 254226@main (113089411a3a): <https://commits.webkit.org/254226@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 462178 [details].
Comment 11 Radar WebKit Bug Importer 2022-09-07 06:14:21 PDT
<rdar://problem/99646848>