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

// Copyright 2016 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/element.h"

#include <memory>

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/web/web_plugin.h"
#include "third_party/blink/renderer/core/css/css_style_declaration.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/dom_token_list.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"
#include "third_party/blink/renderer/core/exported/web_plugin_container_impl.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/geometry/dom_rect.h"
#include "third_party/blink/renderer/core/html/html_html_element.h"
#include "third_party/blink/renderer/core/html/html_plugin_element.h"
#include "third_party/blink/renderer/core/layout/layout_box_model_object.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_forbidden_scope.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"

namespace blink {

class ElementTest : public EditingTestBase {};

TEST_F(ElementTest, FocusableDesignMode) {}

TEST_F(ElementTest,
       GetBoundingClientRectCorrectForStickyElementsAfterInsertion) {}

TEST_F(ElementTest, OffsetTopAndLeftCorrectForStickyElementsAfterInsertion) {}

TEST_F(ElementTest, BoundsInWidgetCorrectForStickyElementsAfterInsertion) {}

TEST_F(ElementTest, OutlineRectsIncludesImgChildren) {}

TEST_F(ElementTest, StickySubtreesAreTrackedCorrectly) {}

TEST_F(ElementTest, GetElementsByClassNameCrash) {}

TEST_F(ElementTest, GetBoundingClientRectForSVG) {}

TEST_F(ElementTest, PartAttribute) {}

TEST_F(ElementTest, ExportpartsAttribute) {}

TEST_F(ElementTest, OptionElementDisplayNoneComputedStyle) {}

// A fake plugin which will assert that script is allowed in Destroy.
class ScriptOnDestroyPlugin : public GarbageCollected<ScriptOnDestroyPlugin>,
                              public WebPlugin {};

TEST_F(ElementTest, CreateAndAttachShadowRootSuspendsPluginDisposal) {}

TEST_F(ElementTest, ParentComputedStyleForDocumentElement) {}

TEST_F(ElementTest, IsFocusableForInertInContentVisibility) {}

TEST_F(ElementTest, ParseFocusgroupAttrDefaultValuesWhenEmptyValue) {}

TEST_F(ElementTest, ParseFocusgroupAttrSupportedAxesAreValid) {}

TEST_F(ElementTest, ParseFocusgroupAttrExtendCorrectly) {}

TEST_F(ElementTest, ParseFocusgroupAttrWrapCorrectly) {}

TEST_F(ElementTest, ParseFocusgroupAttrDoesntWrapInExtendingFocusgroupOnly) {}

TEST_F(ElementTest, ParseFocusgroupAttrGrid) {}

TEST_F(ElementTest, ParseFocusgroupAttrValueRecomputedAfterDOMStructureChange) {}

TEST_F(ElementTest, ParseFocusgroupAttrValueClearedAfterNodeRemoved) {}

TEST_F(ElementTest, MixStyleAttributeAndCSSOMChanges) {}

TEST_F(ElementTest, GetPseudoElement) {}

}  // namespace blink