Function taffy::compute::grid::track_sizing::distribute_item_space_to_base_size
source ยท fn distribute_item_space_to_base_size(
is_flex: bool,
use_flex_factor_for_distribution: bool,
space: f32,
tracks: &mut [GridTrack],
track_is_affected: impl Fn(&GridTrack) -> bool,
track_limit: impl Fn(&GridTrack) -> f32,
intrinsic_contribution_type: IntrinsicContributionType,
)
Expand description
11.5.1. Distributing Extra Space Across Spanned Tracks https://www.w3.org/TR/css-grid-1/#extra-space