#include "third_party/blink/renderer/core/layout/layout_multi_column_flow_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/html/html_div_element.h"
#include "third_party/blink/renderer/core/html/html_span_element.h"
#include "third_party/blink/renderer/core/layout/layout_multi_column_set.h"
#include "third_party/blink/renderer/core/layout/layout_multi_column_spanner_placeholder.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
namespace {
class MultiColumnRenderingTest : public RenderingTest { … };
LayoutMultiColumnFlowThread* MultiColumnRenderingTest::FindFlowThread(
const char* id) const { … }
String MultiColumnRenderingTest::ColumnSetSignature(
LayoutMultiColumnFlowThread* flow_thread) { … }
String MultiColumnRenderingTest::ColumnSetSignature(const char* multicol_id) { … }
void MultiColumnRenderingTest::SetMulticolHTML(const String& html) { … }
TEST_F(MultiColumnRenderingTest, OneBlockWithInDepthTreeStructureCheck) { … }
TEST_F(MultiColumnRenderingTest, Empty) { … }
TEST_F(MultiColumnRenderingTest, OneBlock) { … }
TEST_F(MultiColumnRenderingTest, TwoBlocks) { … }
TEST_F(MultiColumnRenderingTest, Spanner) { … }
TEST_F(MultiColumnRenderingTest, ContentThenSpanner) { … }
TEST_F(MultiColumnRenderingTest, SpannerThenContent) { … }
TEST_F(MultiColumnRenderingTest, ContentThenSpannerThenContent) { … }
TEST_F(MultiColumnRenderingTest, TwoSpanners) { … }
TEST_F(MultiColumnRenderingTest, SpannerThenContentThenSpanner) { … }
TEST_F(MultiColumnRenderingTest, SpannerWithSpanner) { … }
TEST_F(MultiColumnRenderingTest, SubtreeWithSpanner) { … }
TEST_F(MultiColumnRenderingTest, SubtreeWithSpannerAfterSpanner) { … }
TEST_F(MultiColumnRenderingTest, SubtreeWithSpannerBeforeSpanner) { … }
TEST_F(MultiColumnRenderingTest, columnSetAtBlockOffset) { … }
TEST_F(MultiColumnRenderingTest, columnSetAtBlockOffsetVerticalRl) { … }
TEST_F(MultiColumnRenderingTest, columnSetAtBlockOffsetVerticalLr) { … }
class MultiColumnTreeModifyingTest : public MultiColumnRenderingTest { … };
void MultiColumnTreeModifyingTest::SetMulticolHTML(const char* html) { … }
void MultiColumnTreeModifyingTest::ReparentLayoutObject(
const char* new_parent_id,
const char* child_id,
const char* insert_before_id) { … }
void MultiColumnTreeModifyingTest::DestroyLayoutObject(LayoutObject* child) { … }
void MultiColumnTreeModifyingTest::DestroyLayoutObject(const char* child_id) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertFirstContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertContentBeforeContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertContentAfterContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertTwoSpannersAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertSpannerAfterContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertSpannerBeforeContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertSpannerBetweenContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSubtreeWithContentAndSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertInsideSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSpannerInContentBeforeSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSpannerInContentAfterSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertSpannerAfterSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertSpannerBeforeSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertContentBeforeSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertContentAfterContentBeforeSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertContentAfterContentAndSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertContentBeforeSpannerAndContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSpannerIntoContentBeforeSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSpannerIntoContentAfterSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertInvalidSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertSpannerWithInvalidSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertInvalidSpannerInSpannerBetweenContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertContentAndSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertContentAndSpannerAndContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, InsertSubtreeWithSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSubtreeWithSpannerAfterContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSubtreeWithSpannerBeforeContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSubtreeWithSpannerInsideContentAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSubtreeWithSpannerAfterSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest,
InsertSubtreeWithSpannerBeforeSpannerAndRemove) { … }
TEST_F(MultiColumnTreeModifyingTest, RemoveSpannerAndContent) { … }
TEST_F(MultiColumnTreeModifyingTest, RemoveSpannerAndSomeContentBefore) { … }
TEST_F(MultiColumnTreeModifyingTest, RemoveSpannerAndAllContentBefore) { … }
TEST_F(MultiColumnTreeModifyingTest,
RemoveSpannerAndAllContentBeforeWithContentAfter) { … }
TEST_F(MultiColumnTreeModifyingTest, RemoveSpannerAndSomeContentAfter) { … }
TEST_F(MultiColumnTreeModifyingTest, RemoveSpannerAndAllContentAfter) { … }
TEST_F(MultiColumnTreeModifyingTest,
RemoveSpannerAndAllContentAfterWithContentBefore) { … }
TEST_F(MultiColumnTreeModifyingTest, RemoveTwoSpannersBeforeContent) { … }
TEST_F(MultiColumnTreeModifyingTest, RemoveSpannerAndContentAndSpanner) { … }
TEST_F(MultiColumnTreeModifyingTest,
RemoveSpannerAndContentAndSpannerBeforeContent) { … }
TEST_F(MultiColumnTreeModifyingTest,
RemoveSpannerAndContentAndSpannerAfterContent) { … }
TEST_F(MultiColumnTreeModifyingTest,
RemoveInvalidSpannerInSpannerBetweenContent) { … }
TEST_F(MultiColumnTreeModifyingTest,
RemoveSpannerWithInvalidSpannerBetweenContent) { … }
TEST_F(MultiColumnRenderingTest, Continuation) { … }
TEST_F(MultiColumnRenderingTest, InsertBlock) { … }
TEST_F(MultiColumnRenderingTest, InsertInline) { … }
TEST_F(MultiColumnRenderingTest, ListItem) { … }
TEST_F(MultiColumnRenderingTest, SplitInline) { … }
TEST_F(MultiColumnRenderingTest, FlowThreadUpdateGeometryCrash) { … }
}
}