#include "third_party/blink/renderer/core/layout/forms/fieldset_layout_algorithm.h"
#include "third_party/blink/renderer/core/layout/base_layout_algorithm_test.h"
#include "third_party/blink/renderer/core/layout/block_layout_algorithm.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 {
class FieldsetLayoutAlgorithmTest : public BaseLayoutAlgorithmTest { … };
TEST_F(FieldsetLayoutAlgorithmTest, Empty) { … }
TEST_F(FieldsetLayoutAlgorithmTest, NoLegend) { … }
TEST_F(FieldsetLayoutAlgorithmTest, Legend) { … }
TEST_F(FieldsetLayoutAlgorithmTest, SmallLegendLargeBorder) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendOrthogonalWritingMode) { … }
TEST_F(FieldsetLayoutAlgorithmTest, VerticalLr) { … }
TEST_F(FieldsetLayoutAlgorithmTest, VerticalRl) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendAutoSize) { … }
TEST_F(FieldsetLayoutAlgorithmTest, PercentageHeightChild) { … }
TEST_F(FieldsetLayoutAlgorithmTest, AbsposChild) { … }
TEST_F(FieldsetLayoutAlgorithmTest, ZeroHeight) { … }
TEST_F(FieldsetLayoutAlgorithmTest, ZeroMaxHeight) { … }
TEST_F(FieldsetLayoutAlgorithmTest, PercentHeightQuirks) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendPercentHeightQuirks) { … }
TEST_F(FieldsetLayoutAlgorithmTest, FieldsetPaddingWithLegend) { … }
TEST_F(FieldsetLayoutAlgorithmTest, MinMax) { … }
TEST_F(FieldsetLayoutAlgorithmTest, NoFragmentation) { … }
TEST_F(FieldsetLayoutAlgorithmTest, SimpleFragmentation) { … }
TEST_F(FieldsetLayoutAlgorithmTest, FragmentationNoPadding) { … }
TEST_F(FieldsetLayoutAlgorithmTest, FieldsetContentFragmentationAutoHeight) { … }
TEST_F(FieldsetLayoutAlgorithmTest, FieldsetContentFragmentation) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendFragmentationAutoHeight) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendFragmentation) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendAndContentFragmentationAutoHeight) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendAndContentFragmentation) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendFragmentationWithOverflow) { … }
TEST_F(FieldsetLayoutAlgorithmTest,
LegendAndContentFragmentationNegativeMargin) { … }
TEST_F(FieldsetLayoutAlgorithmTest, OverflowedLegend) { … }
TEST_F(FieldsetLayoutAlgorithmTest, OverflowedFieldsetContent) { … }
TEST_F(FieldsetLayoutAlgorithmTest, BreakInsideAvoid) { … }
TEST_F(FieldsetLayoutAlgorithmTest, BreakInsideAvoidTallBlock) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendBreakInsideAvoid) { … }
TEST_F(FieldsetLayoutAlgorithmTest, BreakBeforeAvoid) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendBreakBeforeAvoid) { … }
TEST_F(FieldsetLayoutAlgorithmTest, BreakAfterAvoid) { … }
TEST_F(FieldsetLayoutAlgorithmTest, LegendBreakAfterAvoid) { … }
TEST_F(FieldsetLayoutAlgorithmTest, MarginBottomPastEndOfFragmentainer) { … }
TEST_F(FieldsetLayoutAlgorithmTest, SmallLegendLargeBorderFragmentation) { … }
TEST_F(FieldsetLayoutAlgorithmTest, SmallerLegendLargeBorderFragmentation) { … }
TEST_F(FieldsetLayoutAlgorithmTest, SmallerLegendLargeBorderFragmentation2) { … }
TEST_F(FieldsetLayoutAlgorithmTest, SmallerLegendLargeBorderWithBreak) { … }
}
}