chromium/third_party/blink/renderer/core/layout/anchor_evaluator_impl_test.cc

// Copyright 2022 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/layout/anchor_evaluator_impl.h"

#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/renderer/core/dom/dom_token_list.h"
#include "third_party/blink/renderer/core/layout/layout_block_flow.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"

namespace blink {
namespace {

class AnchorEvaluatorImplTest : public RenderingTest {};

struct AnchorTestData {};

std::ostream& operator<<(std::ostream& os, const AnchorTestData& value) {}

TEST_F(AnchorEvaluatorImplTest, AnchorNameAdd) {}

TEST_F(AnchorEvaluatorImplTest, AnchorNameChange) {}

TEST_F(AnchorEvaluatorImplTest, AnchorNameRemove) {}

TEST_F(AnchorEvaluatorImplTest, BlockFlow) {}

TEST_F(AnchorEvaluatorImplTest, Inline) {}

TEST_F(AnchorEvaluatorImplTest, OutOfFlow) {}

// Relative-positioning should shift the rectangles.
TEST_F(AnchorEvaluatorImplTest, Relative) {}

// CSS Transform should not shift the rectangles.
TEST_F(AnchorEvaluatorImplTest, Transform) {}

// Scroll positions should not shift the rectangles.
TEST_F(AnchorEvaluatorImplTest, Scroll) {}

TEST_F(AnchorEvaluatorImplTest, FragmentedContainingBlock) {}

}  // namespace
}  // namespace blink