chromium/third_party/blink/renderer/core/style/style_image_computed_css_value_builder.h

// Copyright 2023 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_STYLE_STYLE_IMAGE_COMPUTED_CSS_VALUE_BUILDER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_STYLE_STYLE_IMAGE_COMPUTED_CSS_VALUE_BUILDER_H_

#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"

namespace blink {

class CSSImageSetValue;
class CSSValue;
class ComputedStyle;
enum class CSSValuePhase;

// A helper class that, from a CSS <image> value, produces a CSSValue that
// somewhat resembles a computed value equivalent [1]. Primarily for
// serializing StylePendingImages. Prefer `StyleImage::ComputedCSSValue()` if
// at all possible.
//
// [1] "A computed <image> value is the specified value with any <url>s,
//      <color>s, and <length>s computed."
//     (https://drafts.csswg.org/css-images-4/#image-values)
class StyleImageComputedCSSValueBuilder {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_STYLE_STYLE_IMAGE_COMPUTED_CSS_VALUE_BUILDER_H_