chromium/third_party/blink/renderer/core/layout/layout_text_combine_test.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/layout/layout_text_combine.h"

#include <sstream>
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/core/css/css_style_declaration.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/html/html_br_element.h"
#include "third_party/blink/renderer/core/layout/inline/fragment_item.h"
#include "third_party/blink/renderer/core/layout/inline/inline_cursor.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 {

ElementsAre;

class LayoutTextCombineTest : public RenderingTest {};

TEST_F(LayoutTextCombineTest, AppendChild) {}

TEST_F(LayoutTextCombineTest, BoxBoundary) {}

TEST_F(LayoutTextCombineTest, DeleteDataToEmpty) {}

// http://crbug.com/1228058
TEST_F(LayoutTextCombineTest, ElementRecalcOwnStyle) {}

// http://crbug.com/1241194
TEST_F(LayoutTextCombineTest, HtmlElement) {}

TEST_F(LayoutTextCombineTest, InkOverflow) {}

TEST_F(LayoutTextCombineTest, InkOverflowEmphasisMark) {}

TEST_F(LayoutTextCombineTest, InkOverflowOverline) {}

TEST_F(LayoutTextCombineTest, InkOverflowUnderline) {}

TEST_F(LayoutTextCombineTest, InkOverflowWBR) {}

TEST_F(LayoutTextCombineTest, InsertBefore) {}

// http://crbug.com/1258331
// See also VerticalWritingModeByWBR
TEST_F(LayoutTextCombineTest, InsertBR) {}

TEST_F(LayoutTextCombineTest, ScrollableOverflow) {}

// http://crbug.com/1223015
TEST_F(LayoutTextCombineTest, ListItemStyleToImage) {}

// http://crbug.com/1342520
TEST_F(LayoutTextCombineTest, ListMarkerWidthOfSymbol) {}

TEST_F(LayoutTextCombineTest, MultipleTextNode) {}

TEST_F(LayoutTextCombineTest, Nested) {}

TEST_F(LayoutTextCombineTest, Outline) {}

// http://crbug.com/1256783
TEST_F(LayoutTextCombineTest, PropageWritingModeFromBodyToHorizontal) {}

TEST_F(LayoutTextCombineTest, PropageWritingModeFromBodyToVertical) {}

// http://crbug.com/1222160
TEST_F(LayoutTextCombineTest, RebuildLayoutTreeForDetails) {}

// http;//crbug.com/1233432
TEST_F(LayoutTextCombineTest, RemoveBlockChild) {}

TEST_F(LayoutTextCombineTest, RemoveChildCombine) {}

TEST_F(LayoutTextCombineTest, RemoveChildToEmpty) {}

// http://crbug.com/1227066
TEST_F(LayoutTextCombineTest, RemoveChildToOneCombinedText) {}

// http://crbug.com/1227066
TEST_F(LayoutTextCombineTest, ReplaceChildToOneCombinedText) {}

TEST_F(LayoutTextCombineTest, SetDataToEmpty) {}

TEST_F(LayoutTextCombineTest, SplitText) {}

TEST_F(LayoutTextCombineTest, SplitTextAtZero) {}

TEST_F(LayoutTextCombineTest, SplitTextBeforeBox) {}

TEST_F(LayoutTextCombineTest, StyleToTextCombineUprightAll) {}

TEST_F(LayoutTextCombineTest, StyleToTextCombineUprightNone) {}

TEST_F(LayoutTextCombineTest, StyleToHorizontalWritingMode) {}

TEST_F(LayoutTextCombineTest, StyleToHorizontalWritingModeWithWordBreak) {}

TEST_F(LayoutTextCombineTest, StyleToVerticalWritingMode) {}

// http://crbug.com/1222121
TEST_F(LayoutTextCombineTest, VerticalWritingModeByBR) {}

// http://crbug.com/1222121
TEST_F(LayoutTextCombineTest, VerticalWritingModeByWBR) {}

// http://crbug.com/1222069
TEST_F(LayoutTextCombineTest, WithBidiControl) {}

TEST_F(LayoutTextCombineTest, WithBR) {}

// http://crbug.com/1060007
TEST_F(LayoutTextCombineTest, WithMarker) {}

TEST_F(LayoutTextCombineTest, WithOrderedList) {}

TEST_F(LayoutTextCombineTest, WithQuote) {}

// http://crbug.com/1223423
TEST_F(LayoutTextCombineTest, WithTab) {}

// http://crbug.com/1242755
TEST_F(LayoutTextCombineTest, WithTextIndent) {}

TEST_F(LayoutTextCombineTest, WithWordBreak) {}

// crbug.com/1430617
TEST_F(LayoutTextCombineTest, ShouldBeParentOfSvg) {}

TEST_F(LayoutTextCombineTest, InHorizontal) {}

TEST_F(LayoutTextCombineTest, InVertical) {}

}  // namespace blink