chromium/third_party/blink/renderer/core/highlight/highlight_style_utils_test.cc

// Copyright 2020 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/highlight/highlight_style_utils.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/css/properties/longhands.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/editing/dom_selection.h"
#include "third_party/blink/renderer/core/editing/markers/custom_highlight_marker.h"
#include "third_party/blink/renderer/core/editing/markers/document_marker_controller.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/paint/paint_info.h"
#include "third_party/blink/renderer/core/paint/text_paint_style.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/core/testing/sim/sim_compositor.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_controller.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"

namespace blink {

class HighlightStyleUtilsTest : public SimTest,
                                private ScopedHighlightInheritanceForTest {};

TEST_F(HighlightStyleUtilsTest, SelectedTextInputShadow) {}

TEST_F(HighlightStyleUtilsTest, SelectedTextIsRespected) {}

TEST_F(HighlightStyleUtilsTest, CurrentColorReportingAll) {}

TEST_F(HighlightStyleUtilsTest, CurrentColorReportingSome) {}

TEST_F(HighlightStyleUtilsTest, CustomPropertyInheritance) {}

TEST_F(HighlightStyleUtilsTest,
       CustomPropertyOriginatingInheritanceUniversal) {}

TEST_F(HighlightStyleUtilsTest, FontMetricsFromOriginatingElement) {}

TEST_F(HighlightStyleUtilsTest, CustomHighlightsNotOverlapping) {}

TEST_F(HighlightStyleUtilsTest, ContainerMetricsFromOriginatingElement) {}

TEST_F(HighlightStyleUtilsTest, ContainerIsOriginatingElement) {}

}  // namespace blink