#include "third_party/blink/renderer/core/layout/out_of_flow_layout_part.h"
#include "third_party/blink/renderer/core/layout/base_layout_algorithm_test.h"
#include "third_party/blink/renderer/core/layout/block_break_token.h"
#include "third_party/blink/renderer/core/layout/constraint_space.h"
#include "third_party/blink/renderer/core/layout/layout_block_flow.h"
#include "third_party/blink/renderer/core/layout/layout_result.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
namespace blink {
namespace {
class OutOfFlowLayoutPartTest : public BaseLayoutAlgorithmTest { … };
TEST_F(OutOfFlowLayoutPartTest, FixedInsideAbs) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedInMulticol) { … }
TEST_F(OutOfFlowLayoutPartTest, SimplePositionedFragmentation) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedFragmentationWithOverflow) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedFragmentationWithNewColumns) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedFragmentationWithNewEmptyColumns) { … }
TEST_F(OutOfFlowLayoutPartTest, BreakInsideAvoid) { … }
TEST_F(OutOfFlowLayoutPartTest, BreakBeforeColumn) { … }
TEST_F(OutOfFlowLayoutPartTest, BreakAfterColumn) { … }
TEST_F(OutOfFlowLayoutPartTest, ChildBreakInsideAvoid) { … }
TEST_F(OutOfFlowLayoutPartTest, ChildBreakBeforeAvoid) { … }
TEST_F(OutOfFlowLayoutPartTest, ChildBreakAfterAvoid) { … }
TEST_F(OutOfFlowLayoutPartTest,
PositionedFragmentationWithNegativeTopPropertyAndNewEmptyColumn) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedFragmentationWithBottomProperty) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedFragmentationInFlowWithAddedColumns) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedFragmentationAndColumnSpanners) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedFragmentationWithNestedSpanner) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedFragmentationWithNestedSpanners) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposInSpanner) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposInSpannerStaticPos) { … }
TEST_F(OutOfFlowLayoutPartTest, SpannerInAbspos) { … }
TEST_F(OutOfFlowLayoutPartTest,
PositionedFragmentationWithNewColumnsAndSpanners) { … }
TEST_F(OutOfFlowLayoutPartTest,
PositionedFragmentationWithNewColumnsAfterSpanner) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposFragWithSpannerAndNewColumnsAutoHeight) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposFragWithSpannerAndNewEmptyColumns) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposFragmentationPctResolution) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposFragmentationPctResolutionWithOverflow) { … }
TEST_F(OutOfFlowLayoutPartTest, SimpleAbsposNestedFragmentation) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposNestedFragmentationNewColumns) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposNestedFragmentationNewEmptyColumns) { … }
TEST_F(OutOfFlowLayoutPartTest,
PositionedFragmentationWithBottomPropertyAndHeightAuto) { … }
TEST_F(OutOfFlowLayoutPartTest, AbsposFragWithInlineCBAndSpanner) { … }
static void CheckMulticolumnPositionedObjects(const LayoutBox* multicol,
const LayoutBox* abspos) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedObjectsInMulticol) { … }
TEST_F(OutOfFlowLayoutPartTest, PositionedObjectsInMulticolWithInline) { … }
TEST_F(OutOfFlowLayoutPartTest, FragmentainerBreakTokens) { … }
TEST_F(OutOfFlowLayoutPartTest, FragmentainerBreakTokenBeforeSpanner) { … }
TEST_F(OutOfFlowLayoutPartTest, RelayoutNestedMulticolWithOOF) { … }
TEST_F(OutOfFlowLayoutPartTest, UseCountOutOfFlowNoInsets) { … }
TEST_F(OutOfFlowLayoutPartTest, UseCountOutOfFlowSingleInset) { … }
TEST_F(OutOfFlowLayoutPartTest, UseCountOutOfFlowBothInsets) { … }
TEST_F(OutOfFlowLayoutPartTest, EmptyFragmentainersBeforeOOF) { … }
TEST_F(OutOfFlowLayoutPartTest, MultipleUnfragmentedOOFs) { … }
}
}