Changeset 295030 in webkit
- Timestamp:
- May 30, 2022 9:44:45 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp
r295027 r295030 475 475 case ContentDistribution::SpaceBetween: 476 476 return LayoutUnit { }; 477 case ContentDistribution::SpaceAround: 478 return (availableSpace - contentLogicalWidth) / logicalFlexItemList.size() / 2; 477 479 default: 478 480 ASSERT_NOT_IMPLEMENTED_YET(); … … 508 510 return LayoutUnit { }; 509 511 return (availableSpace - contentLogicalWidth) / (logicalFlexItemList.size() - 1); 512 case ContentDistribution::SpaceAround: 513 return (availableSpace - contentLogicalWidth) / logicalFlexItemList.size(); 510 514 default: 511 515 ASSERT_NOT_IMPLEMENTED_YET();
Note: See TracChangeset
for help on using the changeset viewer.