chromium/third_party/blink/renderer/core/css/successful_position_fallback.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_SUCCESSFUL_POSITION_FALLBACK_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_SUCCESSFUL_POSITION_FALLBACK_H_

#include "third_party/blink/renderer/core/style/position_try_fallbacks.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/member.h"

namespace blink {

class CSSPropertyValueSet;

// When an anchored element is positioned using one of the position-try-
// fallbacks without overflowing, we need to keep track of it as the last
// successful fallback because if the same set of fallbacks in later layout
// cannot fit any of the fallbacks, we should fall back to the last successful
// one.
class SuccessfulPositionFallback {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_SUCCESSFUL_POSITION_FALLBACK_H_