chromium/third_party/blink/renderer/core/editing/visible_position_test.cc

// Copyright 2015 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/editing/visible_position.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/editing/testing/editing_test_base.h"
#include "third_party/blink/renderer/core/editing/visible_units.h"
#include "third_party/blink/renderer/core/layout/layout_text.h"

namespace blink {

class VisiblePositionTest : public EditingTestBase {};

TEST_F(VisiblePositionTest, EmptyEditable) {}

TEST_F(VisiblePositionTest, EmptyEditableWithBlockChild) {}

TEST_F(VisiblePositionTest, EmptyEditableWithInlineChild) {}

TEST_F(VisiblePositionTest, PlaceholderBR) {}

TEST_F(VisiblePositionTest, PlaceholderBRWithCollapsedSpace) {}

#if DCHECK_IS_ON()

TEST_F(VisiblePositionTest, NullIsValid) {}

TEST_F(VisiblePositionTest, NonNullIsValidBeforeMutation) {}

TEST_F(VisiblePositionTest, NonNullInvalidatedAfterDOMChange) {}

TEST_F(VisiblePositionTest, NonNullInvalidatedAfterStyleChange) {}

#endif

TEST_F(VisiblePositionTest, NormalizationAroundLineBreak) {}

TEST_F(VisiblePositionTest, SpacesAroundLineBreak) {}

TEST_F(VisiblePositionTest, TextCombine) {}

}  // namespace blink