chromium/third_party/blink/renderer/core/css/try_value_flips.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_TRY_VALUE_FLIPS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_TRY_VALUE_FLIPS_H_

#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/style/position_try_fallbacks.h"
#include "third_party/blink/renderer/platform/heap/collection_support/heap_vector.h"
#include "third_party/blink/renderer/platform/heap/visitor.h"

namespace blink {

class CSSPropertyValueSet;
class CSSValue;
class WritingDirectionMode;
class TryTacticTransform;

// A single position-try-fallback can specify a number of "flips" called
// try-tactics. This makes it easy for authors to try mirrored versions
// of manually specified positions.
//
// This class is responsible for carrying out those flips, or rather
// generating CSSPropertyValueSets which carry out those flips
// using CSSFlipRevertValues.
//
// https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-fallbacks
class CORE_EXPORT TryValueFlips {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_TRY_VALUE_FLIPS_H_