chromium/third_party/blink/renderer/core/layout/inline/inline_caret_position_test.cc

// Copyright 2018 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/inline/inline_caret_position.h"

#include "third_party/blink/renderer/core/editing/position_with_affinity.h"
#include "third_party/blink/renderer/core/editing/text_affinity.h"
#include "third_party/blink/renderer/core/layout/inline/inline_cursor.h"
#include "third_party/blink/renderer/core/layout/inline/offset_mapping.h"
#include "third_party/blink/renderer/core/layout/layout_block_flow.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"

namespace blink {

class InlineCaretPositionTest : public RenderingTest {};

#define TEST_CARET(caret, fragment_, type_, offset_)

TEST_F(InlineCaretPositionTest, AfterSpan) {}

TEST_F(InlineCaretPositionTest, AfterSpanCulled) {}

TEST_F(InlineCaretPositionTest, InlineCaretPositionInOneLineOfText) {}

// For http://crbug.com/1021993
// We should not call |InlineCursor::CurrentBidiLevel()| for soft hyphen
TEST_F(InlineCaretPositionTest, InlineCaretPositionAtSoftHyphen) {}

TEST_F(InlineCaretPositionTest, InlineCaretPositionAtSoftLineWrap) {}

TEST_F(InlineCaretPositionTest, InlineCaretPositionAtSoftLineWrapWithSpace) {}

TEST_F(InlineCaretPositionTest, InlineCaretPositionAtForcedLineBreak) {}

TEST_F(InlineCaretPositionTest, InlineCaretPositionAtEmptyLine) {}

TEST_F(InlineCaretPositionTest, InlineCaretPositionInOneLineOfImage) {}

TEST_F(InlineCaretPositionTest,
       InlineCaretPositionAtSoftLineWrapBetweenImages) {}

TEST_F(InlineCaretPositionTest,
       InlineCaretPositionAtSoftLineWrapBetweenMultipleTextNodes) {}

TEST_F(InlineCaretPositionTest,
       InlineCaretPositionAtSoftLineWrapBetweenMultipleTextNodesRtl) {}

TEST_F(InlineCaretPositionTest,
       InlineCaretPositionAtSoftLineWrapBetweenDeepTextNodes) {}

TEST_F(InlineCaretPositionTest, GeneratedZeroWidthSpace) {}

// See also ParameterizedLocalCaretRectTest.MultiColumnSingleText
TEST_F(InlineCaretPositionTest, MultiColumnSingleText) {}

// http://crbug.com/1183269
// See also InlineCaretPositionTest.InlineCaretPositionAtSoftLineWrap
TEST_F(InlineCaretPositionTest, SoftLineWrap) {}

TEST_F(InlineCaretPositionTest, ZeroWidthSpace) {}

TEST_F(InlineCaretPositionTest, InlineBlockBeforeContent) {}

TEST_F(InlineCaretPositionTest, InlineBoxesLTR) {}

TEST_F(InlineCaretPositionTest, InlineBoxesRTL) {}

// https://crbug.com/1340236
TEST_F(InlineCaretPositionTest, BeforeOrAfterInlineAreaElement) {}

}  // namespace blink