#include "third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/core/layout/base_layout_algorithm_test.h"
#include "third_party/blink/renderer/core/layout/length_utils.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
namespace blink {
namespace {
#define EXPECT_RANGE(expected_start, expected_count, range) …
#define EXPECT_GRID_AREA(area, expected_column_start, expected_column_end, \
expected_row_start, expected_row_end) …
}
class GridLayoutAlgorithmTest : public BaseLayoutAlgorithmTest { … };
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmBaseSetSizes) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmRanges) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmRangesWithAutoRepeater) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmRangesImplicit) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmRangesImplicitAutoColumns) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmRangesImplicitAutoRows) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmRangesImplicitMixed) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmAutoGridPositions) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmAutoDense) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmGridPositions) { … }
TEST_F(GridLayoutAlgorithmTest, GridLayoutAlgorithmResolveFixedTrackSizes) { … }
TEST_F(GridLayoutAlgorithmTest,
GridLayoutAlgorithmDetermineGridItemsSpanningIntrinsicOrFlexTracks) { … }
TEST_F(GridLayoutAlgorithmTest, FixedSizePositioning) { … }
TEST_F(GridLayoutAlgorithmTest, FixedSizePositioningAutoRows) { … }
TEST_F(GridLayoutAlgorithmTest, SpecifiedPositionsOutOfOrder) { … }
TEST_F(GridLayoutAlgorithmTest, GridWithGap) { … }
TEST_F(GridLayoutAlgorithmTest, GridWithPercentGap) { … }
TEST_F(GridLayoutAlgorithmTest, AutoSizedGridWithGap) { … }
TEST_F(GridLayoutAlgorithmTest, AutoSizedGridWithPercentageGap) { … }
TEST_F(GridLayoutAlgorithmTest, ItemsSizeWithGap) { … }
TEST_F(GridLayoutAlgorithmTest, PositionedOutOfFlowItems) { … }
TEST_F(GridLayoutAlgorithmTest, NGGridAxisType) { … }
TEST_F(GridLayoutAlgorithmTest, SubgridLineNameList) { … }
TEST_F(GridLayoutAlgorithmTest, SubgridLineNameListWithRepeaters) { … }
}