Bug 244067 - Overriding logical width/height not being cleared at end of layout
Summary: Overriding logical width/height not being cleared at end of layout
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-17 17:08 PDT by Sammy Gill
Modified: 2022-08-17 19:30 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sammy Gill 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.
Comment 1 Radar WebKit Bug Importer 2022-08-17 17:09:05 PDT
<rdar://problem/98806141>