chromium/third_party/blink/renderer/core/css/container_query_evaluator_test.cc

// Copyright 2021 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/container_query_evaluator.h"

#include "third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom-blink.h"
#include "third_party/blink/renderer/core/css/container_query.h"
#include "third_party/blink/renderer/core/css/css_container_rule.h"
#include "third_party/blink/renderer/core/css/css_test_helpers.h"
#include "third_party/blink/renderer/core/css/css_unparsed_declaration_value.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_impl.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_token_stream.h"
#include "third_party/blink/renderer/core/css/parser/css_tokenizer.h"
#include "third_party/blink/renderer/core/css/parser/css_variable_parser.h"
#include "third_party/blink/renderer/core/css/properties/longhands.h"
#include "third_party/blink/renderer/core/css/resolver/match_result.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/document.h"
#include "third_party/blink/renderer/core/dom/dom_token_list.h"
#include "third_party/blink/renderer/core/dom/element.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/execution_context/security_context.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/html_div_element.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"

namespace blink {

class ContainerQueryEvaluatorTest : public PageTestBase {};

TEST_F(ContainerQueryEvaluatorTest, ContainmentMatch) {}

TEST_F(ContainerQueryEvaluatorTest, SizeContainerChanged) {}

TEST_F(ContainerQueryEvaluatorTest, StyleContainerChanged) {}

TEST_F(ContainerQueryEvaluatorTest, StickyContainerChanged) {}

TEST_F(ContainerQueryEvaluatorTest, SnapContainerChanged) {}

TEST_F(ContainerQueryEvaluatorTest, ClearResults) {}

TEST_F(ContainerQueryEvaluatorTest, SizeInvalidation) {}

TEST_F(ContainerQueryEvaluatorTest, DependentQueries) {}

TEST_F(ContainerQueryEvaluatorTest, EvaluatorDisplayNone) {}

TEST_F(ContainerQueryEvaluatorTest, Printing) {}

TEST_F(ContainerQueryEvaluatorTest, CustomPropertyStyleQuery) {}

TEST_F(ContainerQueryEvaluatorTest, FindContainer) {}

TEST_F(ContainerQueryEvaluatorTest, FindStickyContainer) {}

TEST_F(ContainerQueryEvaluatorTest, FindSnapContainer) {}

TEST_F(ContainerQueryEvaluatorTest, ScopedCaching) {}

TEST_F(ContainerQueryEvaluatorTest, DisplayContentsStyleQueryInvalidation) {}

struct EvalUnknownQueries {};

EvalUnknownQueries eval_unknown_queries[] =;

class UseCountEvalUnknownTest
    : public ContainerQueryEvaluatorTest,
      public ::testing::WithParamInterface<EvalUnknownQueries> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(UseCountEvalUnknownTest, All) {}

}  // namespace blink