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

// Copyright 2017 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_fragment.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/core/dom/first_letter_pseudo_element.h"
#include "third_party/blink/renderer/core/html/html_head_element.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"

namespace blink {

class LayoutTextFragmentTest : public RenderingTest {};

TEST_F(LayoutTextFragmentTest, Basics) {}

TEST_F(LayoutTextFragmentTest, CaretMinMaxOffset) {}

TEST_F(LayoutTextFragmentTest, CaretMinMaxOffsetSpacesInBetween) {}

TEST_F(LayoutTextFragmentTest, CaretMinMaxOffsetCollapsedRemainingText) {}

TEST_F(LayoutTextFragmentTest, ResolvedTextLength) {}

TEST_F(LayoutTextFragmentTest, ResolvedTextLengthSpacesInBetween) {}

TEST_F(LayoutTextFragmentTest, ResolvedTextLengthCollapsedRemainingText) {}

TEST_F(LayoutTextFragmentTest, ContainsCaretOffset) {}

TEST_F(LayoutTextFragmentTest, ContainsCaretOffsetSpacesInBetween) {}

TEST_F(LayoutTextFragmentTest, ContainsCaretOffsetPre) {}

TEST_F(LayoutTextFragmentTest, ContainsCaretOffsetPreLine) {}

TEST_F(LayoutTextFragmentTest, IsBeforeAfterNonCollapsedCharacterNoLineWrap) {}

TEST_F(LayoutTextFragmentTest, IsBeforeAfterNonCollapsedLineWrapSpace) {}

TEST_F(LayoutTextFragmentTest, SetTextWithFirstLetter) {}

// For http://crbug.com/984389
TEST_F(LayoutTextFragmentTest, SplitTextWithZero) {}

}  // namespace blink