chromium/third_party/blink/renderer/core/dom/node_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/dom/node.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_shadow_root_init.h"
#include "third_party/blink/renderer/core/css/resolver/style_resolver.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/dom/comment.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/flat_tree_traversal.h"
#include "third_party/blink/renderer/core/dom/layout_tree_builder.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/dom/processing_instruction.h"
#include "third_party/blink/renderer/core/dom/pseudo_element.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/dom/slot_assignment_engine.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"
#include "third_party/blink/renderer/core/html/html_div_element.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"

namespace blink {

class FakeMediaControlElement : public HTMLDivElement {};

class FakeMediaControls : public HTMLDivElement {};

class NodeTest : public EditingTestBase {};

TEST_F(NodeTest, canStartSelection) {}

TEST_F(NodeTest, canStartSelectionWithShadowDOM) {}

TEST_F(NodeTest, customElementState) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_TextRoot) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_InlineRoot) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_BlockRoot) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_FloatRoot) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_AbsoluteRoot) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_Text) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_Inline) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_Block) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_Float) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_AbsolutePositioned) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_SkipAbsolute) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_SkipFloats) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_InsideDisplayContents) {}

TEST_F(NodeTest, AttachContext_PreviousInFlow_Slotted) {}

TEST_F(NodeTest, HasMediaControlAncestor_Fail) {}

TEST_F(NodeTest, HasMediaControlAncestor_MediaControlElement) {}

TEST_F(NodeTest, HasMediaControlAncestor_MediaControls) {}

TEST_F(NodeTest, appendChildProcessingInstructionNoStyleRecalc) {}

TEST_F(NodeTest, appendChildCommentNoStyleRecalc) {}

TEST_F(NodeTest, MutationOutsideFlatTreeStyleDirty) {}

TEST_F(NodeTest, SkipStyleDirtyHostChild) {}

TEST_F(NodeTest, ContainsChild) {}

TEST_F(NodeTest, ContainsNoSibling) {}

TEST_F(NodeTest, ContainsPseudo) {}

TEST_F(NodeTest, SkipForceReattachDisplayNone) {}

TEST_F(NodeTest, UpdateChildDirtyAncestorsOnSlotAssignment) {}

TEST_F(NodeTest, UpdateChildDirtySlotAfterRemoval) {}

TEST_F(NodeTest, UpdateChildDirtyAfterSlotRemoval) {}

TEST_F(NodeTest, UpdateChildDirtyAfterSlottingDirtyNode) {}

TEST_F(NodeTest, ReassignStyleDirtyElementIntoSlotOutsideFlatTree) {}

TEST_F(NodeTest, FlatTreeParentForChildDirty) {}

}  // namespace blink