Bug 248564

Summary: Refactor RenderBox:sizesLogicalWidthToFitContent()
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Comment 1 Radar WebKit Bug Importer 2022-12-07 15:31:18 PST
<rdar://problem/103092634>
Comment 2 Ahmad Saleem 2023-10-03 11:34:45 PDT
It fails here:

https://searchfox.org/wubkat/source/Source/WebCore/dom/Document.cpp#2478

with following error:

reference to type 'const Length' could not bind to an rvalue of type 'WebCore::SizeType'
  ...currRenderer->needsLayout() && currentBox->sizesLogicalWidthToFitContent(MainOrPreferredSize)))