Bug 266357

Summary: [IFC][Ruby] Incorrect preferred width computation when <ruby> is present
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
[fast-cq]Patch
none
[fast-cq]Patch none

Description zalan 2023-12-13 10:40:14 PST
ssia
Comment 1 zalan 2023-12-13 10:53:53 PST
Created attachment 469019 [details]
Patch
Comment 2 Antti Koivisto 2023-12-13 10:57:15 PST
Comment on attachment 469019 [details]
Patch

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

> Source/WebCore/rendering/RenderBlockFlow.cpp:4704
> +                        rubyBaseMinimumMaximumWidthStack.append(std::make_pair(inlineMin, inlineMax));

I think you can alternatively just say std::pair {  inlineMin, inlineMax }, make_pair is not necessary anymore.
Comment 3 zalan 2023-12-13 11:00:53 PST
Created attachment 469021 [details]
Patch
Comment 4 zalan 2023-12-13 12:29:02 PST
Created attachment 469022 [details]
Patch
Comment 5 zalan 2023-12-13 12:36:55 PST
Created attachment 469023 [details]
[fast-cq]Patch
Comment 6 zalan 2023-12-13 15:26:53 PST
Created attachment 469027 [details]
[fast-cq]Patch
Comment 7 EWS 2023-12-13 15:44:47 PST
Committed 272011@main (fcb3a49fe8cd): <https://commits.webkit.org/272011@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 469027 [details].
Comment 8 Radar WebKit Bug Importer 2023-12-13 15:45:17 PST
<rdar://problem/119634971>