chromium/third_party/blink/renderer/core/css/css_nested_declarations_rule.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_NESTED_DECLARATIONS_RULE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_NESTED_DECLARATIONS_RULE_H_

#include "third_party/blink/renderer/core/css/css_rule.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/member.h"
#include "third_party/blink/renderer/platform/wtf/casting.h"

namespace blink {

class CSSStyleDeclaration;
class StyleRuleNestedDeclarations;
class StyleRuleCSSStyleDeclaration;

// https://drafts.csswg.org/css-nesting-1/#the-cssnestrule
class CSSNestedDeclarationsRule final : public CSSRule {};

template <>
struct DowncastTraits<CSSNestedDeclarationsRule> {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_NESTED_DECLARATIONS_RULE_H_