#include "third_party/blink/renderer/core/layout/grid/grid_item.h"
#include "third_party/blink/renderer/core/layout/grid/grid_placement.h"
#include "third_party/blink/renderer/platform/text/writing_mode_utils.h"
namespace blink {
namespace {
AxisEdge AxisEdgeFromItemPosition(GridTrackSizingDirection track_direction,
bool has_subgridded_axis,
bool is_replaced,
bool is_out_of_flow,
const ComputedStyle& item_style,
const ComputedStyle& parent_grid_style,
const ComputedStyle& root_grid_style,
AutoSizeBehavior* auto_behavior,
bool* is_overflow_safe) { … }
}
GridItemData::GridItemData(
BlockNode item_node,
const ComputedStyle& parent_grid_style,
const ComputedStyle& root_grid_style,
bool parent_must_consider_grid_items_for_column_sizing,
bool parent_must_consider_grid_items_for_row_sizing)
: … { … }
void GridItemData::SetAlignmentFallback(
GridTrackSizingDirection track_direction,
bool has_synthesized_baseline) { … }
void GridItemData::ComputeSetIndices(
const GridLayoutTrackCollection& track_collection) { … }
void GridItemData::ComputeOutOfFlowItemPlacement(
const GridLayoutTrackCollection& track_collection,
const GridPlacementData& placement_data,
const ComputedStyle& grid_style) { … }
GridItems::GridItems(const GridItems& other)
: … { … }
void GridItems::Append(GridItems* other) { … }
void GridItems::SortByOrderProperty() { … }
}