chromium/third_party/blink/renderer/core/css/css_relative_color_value.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_RELATIVE_COLOR_VALUE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_RELATIVE_COLOR_VALUE_H_

#include "third_party/blink/renderer/core/css/css_primitive_value.h"
#include "third_party/blink/renderer/core/css/css_value.h"
#include "third_party/blink/renderer/platform/graphics/color.h"
#include "third_party/blink/renderer/platform/wtf/casting.h"

namespace blink {
namespace cssvalue {

// Stores a CSS relative color that could not be fully resolved at parse time.
// See: https://www.w3.org/TR/css-color-5/#relative-colors
class CORE_EXPORT CSSRelativeColorValue : public CSSValue {};

}  // namespace cssvalue

template <>
struct DowncastTraits<cssvalue::CSSRelativeColorValue> {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_RELATIVE_COLOR_VALUE_H_