Bug 244067

Summary: Overriding logical width/height not being cleared at end of layout
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karlcow, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sammy Gill
Reported 2022-08-17 17:08:38 PDT
It seems like gOverridingLogicalWidthLengthMap/gOverridingLogicalHeightLengthMap are not getting cleared properly at the end of layout. This is indicated when running fast/transferred-sizes-respect-definite-sizes.html. If you go directly to the test by putting the URL in the search bar, two layouts will be performed. On the second layout, the flex item div will get its width computed through the shouldComputeLogicalWidthFromAspectRatio branch because it has entries inside of gOverridingLogicalHeightLengthMap. However, this should not be happening since the map should be cleared at the end of the first layout.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-08-17 17:09:05 PDT
Note You need to log in before you can comment on or make changes to this bug.