#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) { … }
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) { … }
TEST_F(InlineCaretPositionTest, MultiColumnSingleText) { … }
TEST_F(InlineCaretPositionTest, SoftLineWrap) { … }
TEST_F(InlineCaretPositionTest, ZeroWidthSpace) { … }
TEST_F(InlineCaretPositionTest, InlineBlockBeforeContent) { … }
TEST_F(InlineCaretPositionTest, InlineBoxesLTR) { … }
TEST_F(InlineCaretPositionTest, InlineBoxesRTL) { … }
TEST_F(InlineCaretPositionTest, BeforeOrAfterInlineAreaElement) { … }
}