chromium/third_party/blink/renderer/core/css/properties/css_property_test.cc

// Copyright 2019 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/css/properties/css_property.h"
#include <cstring>
#include "base/memory/values_equivalent.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/origin_trial_feature/origin_trial_feature.mojom-shared.h"
#include "third_party/blink/renderer/core/css/anchor_evaluator.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/css/css_test_helpers.h"
#include "third_party/blink/renderer/core/css/properties/css_bitset.h"
#include "third_party/blink/renderer/core/css/properties/css_property_instances.h"
#include "third_party/blink/renderer/core/css/properties/css_property_ref.h"
#include "third_party/blink/renderer/core/css/properties/longhands.h"
#include "third_party/blink/renderer/core/css/resolver/style_builder.h"
#include "third_party/blink/renderer/core/css/resolver/style_resolver.h"
#include "third_party/blink/renderer/core/css/resolver/style_resolver_state.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/origin_trials/origin_trial_context.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"

namespace blink {

namespace {

// Evaluates any query to '1' when it's in the expected mode,
// otherwise std::nullopt.
class ModeCheckingAnchorEvaluator : public AnchorEvaluator {};

}  // namespace

class CSSPropertyTest : public PageTestBase {};

TEST_F(CSSPropertyTest, VisitedPropertiesAreNotWebExposed) {}

TEST_F(CSSPropertyTest, GetVisitedPropertyOnlyReturnsVisitedProperties) {}

TEST_F(CSSPropertyTest, GetUnvisitedPropertyFromVisited) {}

TEST_F(CSSPropertyTest, InternalFontSizeDeltaNotWebExposed) {}

TEST_F(CSSPropertyTest, VisitedPropertiesCanParseValues) {}

TEST_F(CSSPropertyTest, Surrogates) {}

TEST_F(CSSPropertyTest, PairsWithIdenticalValues) {}

TEST_F(CSSPropertyTest, StaticVariableInstanceFlags) {}

TEST_F(CSSPropertyTest, OriginTrialTestProperty) {}

TEST_F(CSSPropertyTest, OriginTrialTestPropertyWithContext) {}

TEST_F(CSSPropertyTest, AlternativePropertyData) {}

TEST_F(CSSPropertyTest, AlternativePropertyExposure) {}

TEST_F(CSSPropertyTest, AlternativePropertySingle) {}

TEST_F(CSSPropertyTest, AlternativePropertyCycle) {}

TEST_F(CSSPropertyTest, AnchorModeTop) {}

TEST_F(CSSPropertyTest, AnchorModeRight) {}

TEST_F(CSSPropertyTest, AnchorModeBottom) {}

TEST_F(CSSPropertyTest, AnchorModeLeft) {}

TEST_F(CSSPropertyTest, AnchorModeWidth) {}

TEST_F(CSSPropertyTest, AnchorModeHeight) {}

TEST_F(CSSPropertyTest, PositionTryFallbacksAlternativeEnabled) {}

TEST_F(CSSPropertyTest, PositionTryFallbacksAlternativeDisabled) {}

TEST_F(CSSPropertyTest, PositionTryOptionsDisabled) {}

TEST_F(CSSPropertyTest, PositionAreaDisabled) {}

TEST_F(CSSPropertyTest, InsetAreaDisabled) {}

}  // namespace blink