#include "third_party/blink/renderer/core/css/resolver/css_to_style_map.h"
#include "third_party/blink/renderer/core/animation/css/css_animation_data.h"
#include "third_party/blink/renderer/core/animation/effect_model.h"
#include "third_party/blink/renderer/core/css/css_border_image_slice_value.h"
#include "third_party/blink/renderer/core/css/css_custom_ident_value.h"
#include "third_party/blink/renderer/core/css/css_identifier_value.h"
#include "third_party/blink/renderer/core/css/css_math_function_value.h"
#include "third_party/blink/renderer/core/css/css_numeric_literal_value.h"
#include "third_party/blink/renderer/core/css/css_primitive_value.h"
#include "third_party/blink/renderer/core/css/css_primitive_value_mappings.h"
#include "third_party/blink/renderer/core/css/css_quad_value.h"
#include "third_party/blink/renderer/core/css/css_repeat_style_value.h"
#include "third_party/blink/renderer/core/css/css_scroll_value.h"
#include "third_party/blink/renderer/core/css/css_timing_function_value.h"
#include "third_party/blink/renderer/core/css/css_to_length_conversion_data.h"
#include "third_party/blink/renderer/core/css/css_value_pair.h"
#include "third_party/blink/renderer/core/css/css_view_value.h"
#include "third_party/blink/renderer/core/css/resolver/style_builder_converter.h"
#include "third_party/blink/renderer/core/css/resolver/style_resolver_state.h"
#include "third_party/blink/renderer/core/css_value_keywords.h"
#include "third_party/blink/renderer/core/style/border_image_length_box.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/style/fill_layer.h"
#include "third_party/blink/renderer/platform/animation/timing_function.h"
namespace blink {
void CSSToStyleMap::MapFillAttachment(StyleResolverState&,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillClip(StyleResolverState&,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillCompositingOperator(StyleResolverState&,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillBlendMode(StyleResolverState&,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillOrigin(StyleResolverState&,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillImage(StyleResolverState& state,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillRepeat(StyleResolverState&,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillMaskMode(StyleResolverState&,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillSize(StyleResolverState& state,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillPositionX(StyleResolverState& state,
FillLayer* layer,
const CSSValue& value) { … }
void CSSToStyleMap::MapFillPositionY(StyleResolverState& state,
FillLayer* layer,
const CSSValue& value) { … }
namespace {
Timing::Delay MapAnimationTimingDelay(const CSSLengthResolver& length_resolver,
const CSSValue& value) { … }
}
Timing::Delay CSSToStyleMap::MapAnimationDelayStart(StyleResolverState& state,
const CSSValue& value) { … }
Timing::Delay CSSToStyleMap::MapAnimationDelayEnd(const CSSValue& value) { … }
Timing::Delay CSSToStyleMap::MapAnimationDelayEnd(StyleResolverState& state,
const CSSValue& value) { … }
Timing::PlaybackDirection CSSToStyleMap::MapAnimationDirection(
StyleResolverState& state,
const CSSValue& value) { … }
std::optional<double> CSSToStyleMap::MapAnimationDuration(
StyleResolverState& state,
const CSSValue& value) { … }
Timing::FillMode CSSToStyleMap::MapAnimationFillMode(StyleResolverState& state,
const CSSValue& value) { … }
double CSSToStyleMap::MapAnimationIterationCount(StyleResolverState& state,
const CSSValue& value) { … }
AtomicString CSSToStyleMap::MapAnimationName(StyleResolverState& state,
const CSSValue& value) { … }
CSSTransitionData::TransitionBehavior CSSToStyleMap::MapAnimationBehavior(
StyleResolverState& state,
const CSSValue& value) { … }
StyleTimeline CSSToStyleMap::MapAnimationTimeline(StyleResolverState& state,
const CSSValue& value) { … }
EAnimPlayState CSSToStyleMap::MapAnimationPlayState(StyleResolverState& state,
const CSSValue& value) { … }
namespace {
std::optional<TimelineOffset> MapAnimationRange(StyleResolverState& state,
const CSSValue& value,
double default_percent) { … }
}
std::optional<TimelineOffset> CSSToStyleMap::MapAnimationRangeStart(
StyleResolverState& state,
const CSSValue& value) { … }
std::optional<TimelineOffset> CSSToStyleMap::MapAnimationRangeEnd(
StyleResolverState& state,
const CSSValue& value) { … }
EffectModel::CompositeOperation CSSToStyleMap::MapAnimationComposition(
StyleResolverState& state,
const CSSValue& value) { … }
CSSTransitionData::TransitionProperty CSSToStyleMap::MapAnimationProperty(
StyleResolverState& state,
const CSSValue& value) { … }
scoped_refptr<TimingFunction> CSSToStyleMap::MapAnimationTimingFunction(
const CSSValue& value) { … }
scoped_refptr<TimingFunction> CSSToStyleMap::MapAnimationTimingFunction(
StyleResolverState& state,
const CSSValue& value) { … }
void CSSToStyleMap::MapNinePieceImage(StyleResolverState& state,
CSSPropertyID property,
const CSSValue& value,
NinePieceImage& image) { … }
static Length ConvertBorderImageSliceSide(
const CSSLengthResolver& length_resolver,
const CSSPrimitiveValue& value) { … }
void CSSToStyleMap::MapNinePieceImageSlice(StyleResolverState& state,
const CSSValue& value,
NinePieceImage& image) { … }
static BorderImageLength ToBorderImageLength(const StyleResolverState& state,
const CSSValue& value) { … }
BorderImageLengthBox CSSToStyleMap::MapNinePieceImageQuad(
StyleResolverState& state,
const CSSValue& value) { … }
void CSSToStyleMap::MapNinePieceImageRepeat(StyleResolverState&,
const CSSValue& value,
NinePieceImage& image) { … }
}