chromium/third_party/blink/renderer/core/dom/container_node_test.cc

// Copyright 2023 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/dom/container_node.h"

#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"

namespace blink {

ContainerNodeTest;

TEST_F(ContainerNodeTest, HasOnlyTextReturnsFalseForEmptySpan) {}

TEST_F(ContainerNodeTest, HasOnlyTextReturnsFalseForNonTextChild) {}

TEST_F(ContainerNodeTest, HasOnlyTextReturnsTrueForSomeText) {}

TEST_F(ContainerNodeTest, HasOnlyTextIgnoresComments) {}

TEST_F(ContainerNodeTest, CannotFindTextInElementWithoutDescendants) {}

TEST_F(ContainerNodeTest, CannotFindTextInElementWithNonTextDescendants) {}

TEST_F(ContainerNodeTest, CannotFindTextInElementWithoutMatchingSubtring) {}

TEST_F(ContainerNodeTest, CanFindTextInElementWithOnlyTextDescendants) {}

TEST_F(ContainerNodeTest, CannotFindTextIfTheValidatorRejectsIt) {}

TEST_F(ContainerNodeTest, CanFindTextInElementWithManyDescendants) {}

TEST_F(ContainerNodeTest, FindTextInElementWithFirstMatch) {}

TEST_F(ContainerNodeTest, FindTextInElementWithValidatorApprovingTheSecond) {}

TEST_F(ContainerNodeTest, FindTextInElementWithSubstringIgnoresComments) {}

TEST_F(ContainerNodeTest, FindTextInElementWithSubstringIgnoresAsciiCase) {}

TEST_F(ContainerNodeTest, CanFindTextInReadonlyTextInputElement) {}

TEST_F(ContainerNodeTest, CannotFindTextInNonReadonlyTextInputElement) {}

TEST_F(ContainerNodeTest, CannotFindTextInNonTextInputElement) {}

TEST_F(ContainerNodeTest, FindTextInTheValueOfTheReadonlyInputFirst) {}

TEST_F(ContainerNodeTest, FindTextInTheValueOfTheReadonlyInputWithTypeTEXT) {}

TEST_F(ContainerNodeTest, CanFindTextInTextarea) {}

}  // namespace blink