chromium/third_party/blink/renderer/core/css/resolver/cascade_interpolations.h

// 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.

#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_RESOLVER_CASCADE_INTERPOLATIONS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_RESOLVER_CASCADE_INTERPOLATIONS_H_

#include "base/check_op.h"
#include "third_party/blink/renderer/core/animation/interpolation.h"
#include "third_party/blink/renderer/core/animation/property_handle.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/css/resolver/cascade_origin.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"

namespace blink {

// bit:  0-15: CSSPropertyID
// bit: 16-23: Entry index
// bit: 24: Presentation attribute bit (inverse)
//
// Our tests currently expect css properties to win over presentation
// attributes. We borrow bit 24 for this purpose, even though it's not really
// part of the position.
inline uint32_t EncodeInterpolationPosition(CSSPropertyID id,
                                            uint8_t index,
                                            bool is_presentation_attribute) {}

inline CSSPropertyID DecodeInterpolationPropertyID(uint32_t position) {}

inline uint8_t DecodeInterpolationIndex(uint32_t position) {}

inline bool DecodeIsPresentationAttribute(uint32_t position) {}

class CORE_EXPORT CascadeInterpolations {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_RESOLVER_CASCADE_INTERPOLATIONS_H_