chromium/third_party/blink/renderer/core/css/resolver/cascade_priority_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/css/resolver/cascade_priority.h"
#include <gtest/gtest.h>

namespace blink {

namespace {

struct Options {};

CascadePriority Priority(Options o) {}

CascadePriority AuthorPriority(uint16_t tree_order, uint32_t position) {}

CascadePriority ImportantAuthorPriority(uint16_t tree_order,
                                        uint32_t position) {}

}  // namespace

TEST(CascadePriorityTest, EncodeOriginImportance) {}

TEST(CascadePriorityTest, OriginOperators) {}

TEST(CascadePriorityTest, OriginImportance) {}

TEST(CascadePriorityTest, IsImportant) {}

static std::vector<CascadeOrigin> all_origins =;

TEST(CascadePriorityTest, GetOrigin) {}

TEST(CascadePriorityTest, HasOrigin) {}

TEST(CascadePriorityTest, EncodeTreeOrder) {}

TEST(CascadePriorityTest, TreeOrder) {}

TEST(CascadePriorityTest, TreeOrderImportant) {}

TEST(CascadePriorityTest, TreeOrderDifferentOrigin) {}

TEST(CascadePriorityTest, Position) {}

TEST(CascadePriorityTest, PositionAndTreeOrder) {}

TEST(CascadePriorityTest, PositionAndOrigin) {}

TEST(CascadePriorityTest, Generation) {}

TEST(CascadePriorityTest, GenerationOverwrite) {}

TEST(CascadePriorityTest, PositionEncoding) {}

TEST(CascadePriorityTest, EncodeLayerOrder) {}

TEST(CascadePriorityTest, LayerOrder) {}

TEST(CascadePriorityTest, LayerOrderImportant) {}

TEST(CascadePriorityTest, LayerOrderDifferentOrigin) {}

TEST(CascadePriorityTest, InlineStyle) {}

TEST(CascadePriorityTest, TryStyle) {}

TEST(CascadePriorityTest, TryTacticsStyle) {}

TEST(CascadePriorityTest, ForLayerComparison) {}

}  // namespace blink