Untitled diff

Created Diff never expires
37 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
499 lines
27 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
489 lines
// Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.


// Generated from template:
// Generated from template:
// templates/ComputedStyleBase.h.tmpl
// templates/ComputedStyleBase.h.tmpl
// and input files:
// and input files:
// ../../third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5
// ../../third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5
// ../../third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
// ../../third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
// ../../third_party/WebKit/Source/core/css/ComputedStyleFieldAliases.json5
// ../../third_party/WebKit/Source/core/css/ComputedStyleFieldAliases.json5
// ../../third_party/WebKit/Source/core/css/CSSGroupConfig.json5
// ../../third_party/WebKit/Source/core/css/CSSGroupConfig.json5
// ../../third_party/WebKit/Source/core/css/CSSProperties.json5
// ../../third_party/WebKit/Source/core/css/CSSProperties.json5
// ../../third_party/WebKit/Source/core/css/CSSPropertiesRanking.json5
// ../../third_party/WebKit/Source/core/css/CSSPropertiesRanking.json5
// ../../third_party/WebKit/Source/core/css/CSSValueKeywords.json5
// ../../third_party/WebKit/Source/core/css/CSSValueKeywords.json5




#ifndef ComputedStyleBase_h
#ifndef ComputedStyleBase_h
#define ComputedStyleBase_h
#define ComputedStyleBase_h


#include "core/CoreExport.h"
#include "core/CoreExport.h"
#include "core/layout/LayoutTheme.h"
#include "core/layout/LayoutTheme.h"
#include "core/style/ComputedStyleConstants.h"
#include "core/style/ComputedStyleConstants.h"
#include "core/style/ComputedStyleInitialFunctions.h"
#include "core/style/DataRef.h"
#include "core/style/DataRef.h"
#include "core/style/MemberCopy.h"
#include "core/style/MemberCopy.h"
#include "core/CSSPropertyNames.h"
#include "core/CSSPropertyNames.h"
#include "core/animation/css/CSSAnimationData.h"
#include "core/animation/css/CSSAnimationData.h"
#include "core/animation/css/CSSTransitionData.h"
#include "core/animation/css/CSSTransitionData.h"
#include "core/css/StyleColor.h"
#include "core/css/StyleColor.h"
#include "core/style/AppliedTextDecorationList.h"
#include "core/style/AppliedTextDecorationList.h"
#include "core/style/BasicShapes.h"
#include "core/style/BasicShapes.h"
#include "core/style/ClipPathOperation.h"
#include "core/style/ClipPathOperation.h"
#include "core/style/ContentData.h"
#include "core/style/ContentData.h"
#include "core/style/CounterDirectives.h"
#include "core/style/CounterDirectives.h"
#include "core/style/CursorList.h"
#include "core/style/CursorList.h"
#include "core/style/FillLayer.h"
#include "core/style/FillLayer.h"
#include "core/style/GridArea.h"
#include "core/style/GridArea.h"
#include "core/style/GridPosition.h"
#include "core/style/GridPosition.h"
#include "core/style/GridTrackSize.h"
#include "core/style/GridTrackSize.h"
#include "core/style/LineClampValue.h"
#include "core/style/LineClampValue.h"
#include "core/style/NamedGridLinesMap.h"
#include "core/style/NamedGridLinesMap.h"
#include "core/style/NinePieceImage.h"
#include "core/style/NinePieceImage.h"
#include "core/style/OrderedNamedGridLines.h"
#include "core/style/OrderedNamedGridLines.h"
#include "core/style/PaintImages.h"
#include "core/style/PaintImages.h"
#include "core/style/QuotesData.h"
#include "core/style/QuotesData.h"
#include "core/style/ScrollSnap.h"
#include "core/style/ScrollSnap.h"
#include "core/style/ShadowList.h"
#include "core/style/ShadowList.h"
#include "core/style/ShapeValue.h"
#include "core/style/ShapeValue.h"
#include "core/style/StyleContentAlignmentData.h"
#include "core/style/StyleContentAlignmentData.h"
#include "core/style/StyleFilterData.h"
#include "core/style/StyleFilterData.h"
#include "core/style/StyleImage.h"
#include "core/style/StyleImage.h"
#include "core/style/StyleInheritedVariables.h"
#include "core/style/StyleInheritedVariables.h"
#include "core/style/StyleNonInheritedVariables.h"
#include "core/style/StyleNonInheritedVariables.h"
#include "core/style/StyleOffsetRotation.h"
#include "core/style/StyleOffsetRotation.h"
#include "core/style/StyleReflection.h"
#include "core/style/StyleReflection.h"
#include "core/style/StyleSelfAlignmentData.h"
#include "core/style/StyleSelfAlignmentData.h"
#include "core/style/TextSizeAdjust.h"
#include "core/style/TextSizeAdjust.h"
#include "core/style/TransformOrigin.h"
#include "core/style/TransformOrigin.h"
#include "platform/LayoutUnit.h"
#include "platform/LayoutUnit.h"
#include "platform/Length.h"
#include "platform/Length.h"
#include "platform/LengthBox.h"
#include "platform/LengthBox.h"
#include "platform/LengthPoint.h"
#include "platform/LengthPoint.h"
#include "platform/LengthSize.h"
#include "platform/LengthSize.h"
#include "platform/fonts/Font.h"
#include "platform/fonts/Font.h"
#include "platform/geometry/FloatSize.h"
#include "platform/geometry/FloatSize.h"
#include "platform/graphics/Color.h"
#include "platform/graphics/Color.h"
#include "platform/graphics/TouchAction.h"
#include "platform/graphics/TouchAction.h"
#include "platform/text/TabSize.h"
#include "platform/text/TabSize.h"
#include "platform/text/TextDirection.h"
#include "platform/text/TextDirection.h"
#include "platform/text/TextJustify.h"
#include "platform/text/TextJustify.h"
#include "platform/text/UnicodeBidi.h"
#include "platform/text/UnicodeBidi.h"
#include "platform/text/WritingMode.h"
#include "platform/text/WritingMode.h"
#include "platform/transforms/RotateTransformOperation.h"
#include "platform/transforms/RotateTransformOperation.h"
#include "platform/transforms/ScaleTransformOperation.h"
#include "platform/transforms/ScaleTransformOperation.h"
#include "platform/transforms/TransformOperations.h"
#include "platform/transforms/TransformOperations.h"
#include "platform/transforms/TranslateTransformOperation.h"
#include "platform/transforms/TranslateTransformOperation.h"
#include "platform/wtf/Vector.h"
#include "platform/wtf/Vector.h"
#include "platform/wtf/text/AtomicString.h"
#include "platform/wtf/text/AtomicString.h"
#include "platform/wtf/text/WTFString.h"
#include "platform/wtf/text/WTFString.h"
#include "public/platform/WebBlendMode.h"
#include "public/platform/WebBlendMode.h"




namespace blink {
namespace blink {


// Forward declaration for diff functions.
// Forward declaration for diff functions.
class ComputedStyle;
class ComputedStyle;


// The generated portion of ComputedStyle. For more info, see the header comment
// The generated portion of ComputedStyle. For more info, see the header comment
// in ComputedStyle.h.
// in ComputedStyle.h.
//
//
// ComputedStyleBase is a generated class that stores data members or 'fields'
// ComputedStyleBase is a generated class that stores data members or 'fields'
// used in ComputedStyle. These fields can represent CSS properties or internal
// used in ComputedStyle. These fields can represent CSS properties or internal
// style information.
// style information.
//
//
// STORAGE:
// STORAGE:
//
//
// Fields are organised in a tree structure, where a node (called a 'group')
// Fields are organised in a tree structure, where a node (called a 'group')
// stores a set of fields and a set of pointers to child nodes (called
// stores a set of fields and a set of pointers to child nodes (called
// 'subgroups'). We can visualise the tree structure with ComputedStyleBase as
// 'subgroups'). We can visualise the tree structure with ComputedStyleBase as
// the root node:
// the root node:
//
//
// ComputedStyleBase (fields: display, vertical-align, ...)
// ComputedStyleBase (fields: display, vertical-align, ...)
// |- StyleSurroundData (fields: padding, border, ...)
// |- StyleSurroundData (fields: padding, border, ...)
// |- StyleBoxData (fields: width, height, ...)
// |- StyleBoxData (fields: width, height, ...)
// |- ...
// |- ...
// |- StyleRareNonInheritedData (fields: box-shadow, text-overflow, ...)
// |- StyleRareNonInheritedData (fields: box-shadow, text-overflow, ...)
// |- StyleFlexibleBoxData (fields: flex-direction, flex-wrap, ...)
// |- StyleFlexibleBoxData (fields: flex-direction, flex-wrap, ...)
// |- ...
// |- ...
//
//
// This design saves memory by allowing multiple ComputedStyleBases to share the
// This design saves memory by allowing multiple ComputedStyleBases to share the
// same instance of a subgroup. For example, if a page never uses flex box
// same instance of a subgroup. For example, if a page never uses flex box
// properties, then every ComputedStyleBase can share the same instance of
// properties, then every ComputedStyleBase can share the same instance of
// StyleFlexibleBoxData. Without this sharing, we would need to allocate a copy
// StyleFlexibleBoxData. Without this sharing, we would need to allocate a copy
// of all the flex box fields for every ComputedStyleBase. Similarly, when an
// of all the flex box fields for every ComputedStyleBase. Similarly, when an
// element inherits from its parent, its ComputedStyleBase can simply share all
// element inherits from its parent, its ComputedStyleBase can simply share all
// of its subgroups with the parent's.
// of its subgroups with the parent's.
//
//
// INTERFACE:
// INTERFACE:
//
//
// The functions generated for a field is determined by its 'template'. For
// The functions generated for a field is determined by its 'template'. For
// example, a field with the 'keyword' template has only one setter, whereas an
// example, a field with the 'keyword' template has only one setter, whereas an
// 'external' field has an extra setter that takes an rvalue reference. A list
// 'external' field has an extra setter that takes an rvalue reference. A list
// of the available templates can be found in CSSProperties.json5.
// of the available templates can be found in CSSProperties.json5.
class ComputedStyleBase {
class ComputedStyleBase {
public:
public:
inline bool IndependentInheritedEqual(const ComputedStyleBase& o) const {
inline bool IndependentInheritedEqual(const ComputedStyleBase& o) const {
return (
return (
pointer_events_ == o.pointer_events_
pointer_events_ == o.pointer_events_
&& white_space_ == o.white_space_
&& white_space_ == o.white_space_
&& text_transform_ == o.text_transform_
&& text_transform_ == o.text_transform_
&& visibility_ == o.visibility_
&& visibility_ == o.visibility_
&& border_collapse_ == o.border_collapse_
&& border_collapse_ == o.border_collapse_
&& box_direction_ == o.box_direction_
&& box_direction_ == o.box_direction_
&& caption_side_ == o.caption_side_
&& caption_side_ == o.caption_side_
&& empty_cells_ == o.empty_cells_
&& empty_cells_ == o.empty_cells_
&& list_style_position_ == o.list_style_position_
&& list_style_position_ == o.list_style_position_
&& print_color_adjust_ == o.print_color_adjust_
&& print_color_adjust_ == o.print_color_adjust_
&& rtl_ordering_ == o.rtl_ordering_
&& rtl_ordering_ == o.rtl_ordering_
);
);
}
}


inline bool NonIndependentInheritedEqual(const ComputedStyleBase& o) const {
inline bool NonIndependentInheritedEqual(const ComputedStyleBase& o) const {
return (
return (
inherited_data_ == o.inherited_data_
inherited_data_ == o.inherited_data_
&& rare_inherited_usage_less_than_40_percent_data_ == o.rare_inherited_usage_less_than_40_percent_data_
&& rare_inherited_usage_less_than_40_percent_data_ == o.rare_inherited_usage_less_than_40_percent_data_
&& cursor_ == o.cursor_
&& cursor_ == o.cursor_
&& list_style_type_ == o.list_style_type_
&& list_style_type_ == o.list_style_type_
&& text_align_ == o.text_align_
&& text_align_ == o.text_align_
&& inside_link_ == o.inside_link_
&& inside_link_ == o.inside_link_
&& writing_mode_ == o.writing_mode_
&& writing_mode_ == o.writing_mode_
&& direction_ == o.direction_
&& direction_ == o.direction_
&& has_simple_underline_ == o.has_simple_underline_
&& has_simple_underline_ == o.has_simple_underline_
);
);
}
}


inline bool InheritedEqual(const ComputedStyleBase& o) const {
inline bool InheritedEqual(const ComputedStyleBase& o) const {
return IndependentInheritedEqual(o) && NonIndependentInheritedEqual(o);
return IndependentInheritedEqual(o) && NonIndependentInheritedEqual(o);
}
}


inline bool NonInheritedEqual(const ComputedStyleBase& o) const {
inline bool NonInheritedEqual(const ComputedStyleBase& o) const {
return (
return (
box_data_ == o.box_data_
box_data_ == o.box_data_
&& rare_non_inherited_usage_less_than_13_percent_data_ == o.rare_non_inherited_usage_less_than_13_percent_data_
&& rare_non_inherited_usage_less_than_13_percent_data_ == o.rare_non_inherited_usage_less_than_13_percent_data_
&& surround_data_ == o.surround_data_
&& surround_data_ == o.surround_data_
&& visual_data_ == o.visual_data_
&& visual_data_ == o.visual_data_
&& background_data_ == o.background_data_
&& background_data_ == o.background_data_
&& display_ == o.display_
&& display_ == o.display_
&& original_display_ == o.original_display_
&& original_display_ == o.original_display_
&& break_after_ == o.break_after_
&& break_after_ == o.break_after_
&& break_before_ == o.break_before_
&& break_before_ == o.break_before_
&& vertical_align_ == o.vertical_align_
&& vertical_align_ == o.vertical_align_
&& overflow_x_ == o.overflow_x_
&& overflow_x_ == o.overflow_x_
&& overflow_y_ == o.overflow_y_
&& overflow_y_ == o.overflow_y_
&& position_ == o.position_
&& position_ == o.position_
&& unicode_bidi_ == o.unicode_bidi_
&& unicode_bidi_ == o.unicode_bidi_
&& break_inside_ == o.break_inside_
&& break_inside_ == o.break_inside_
&& clear_ == o.clear_
&& clear_ == o.clear_
&& floating_ == o.floating_
&& floating_ == o.floating_
&& overflow_anchor_ == o.overflow_anchor_
&& overflow_anchor_ == o.overflow_anchor_
&& overscroll_behavior_x_ == o.overscroll_behavior_x_
&& overscroll_behavior_x_ == o.overscroll_behavior_x_
&& overscroll_behavior_y_ == o.overscroll_behavior_y_
&& overscroll_behavior_y_ == o.overscroll_behavior_y_
&& scroll_snap_stop_ == o.scroll_snap_stop_
&& scroll_snap_stop_ == o.scroll_snap_stop_
&& table_layout_ == o.table_layout_
&& table_layout_ == o.table_layout_
&& transform_box_ == o.transform_box_
&& transform_box_ == o.transform_box_
);
);
}
}


inline bool InheritedDataShared(const ComputedStyleBase& o) const {
inline bool InheritedDataShared(const ComputedStyleBase& o) const {
return (
return (
inherited_data_.Get() == o.inherited_data_.Get()
inherited_data_.Get() == o.inherited_data_.Get()
&& rare_inherited_usage_less_than_40_percent_data_.Get() == o.rare_inherited_usage_less_than_40_percent_data_.Get()
&& rare_inherited_usage_less_than_40_percent_data_.Get() == o.rare_inherited_usage_less_than_40_percent_data_.Get()
&& cursor_ == o.cursor_
&& cursor_ == o.cursor_
&& list_style_type_ == o.list_style_type_
&& list_style_type_ == o.list_style_type_
&& pointer_events_ == o.pointer_events_
&& pointer_events_ == o.pointer_events_
&& text_align_ == o.text_align_
&& text_align_ == o.text_align_
&& white_space_ == o.white_space_
&& white_space_ == o.white_space_
&& inside_link_ == o.inside_link_
&& inside_link_ == o.inside_link_
&& text_transform_ == o.text_transform_
&& text_transform_ == o.text_transform_
&& visibility_ == o.visibility_
&& visibility_ == o.visibility_
&& writing_mode_ == o.writing_mode_
&& writing_mode_ == o.writing_mode_
&& border_collapse_ == o.border_collapse_
&& border_collapse_ == o.border_collapse_
&& box_direction_ == o.box_direction_
&& box_direction_ == o.box_direction_
&& caption_side_ == o.caption_side_
&& caption_side_ == o.caption_side_
&& direction_ == o.direction_
&& direction_ == o.direction_
&& empty_cells_ == o.empty_cells_
&& empty_cells_ == o.empty_cells_
&& has_simple_underline_ == o.has_simple_underline_
&& has_simple_underline_ == o.has_simple_underline_
&& list_style_position_ == o.list_style_position_
&& list_style_position_ == o.list_style_position_
&& print_color_adjust_ == o.print_color_adjust_
&& print_color_adjust_ == o.print_color_adjust_
&& rtl_ordering_ == o.rtl_ordering_
&& rtl_ordering_ == o.rtl_ordering_
);
);
}
}


enum IsAtShadowBoundary {
enum IsAtShadowBoundary {
kAtShadowBoundary,
kAtShadowBoundary,
kNotAtShadowBoundary,
kNotAtShadowBoundary,
};
};


void InheritFrom(const ComputedStyleBase& other,
void InheritFrom(const ComputedStyleBase& other,
IsAtShadowBoundary isAtShadowBoundary);
IsAtShadowBoundary isAtShadowBoundary);


void CopyNonInheritedFromCached(
void CopyNonInheritedFromCached(
const ComputedStyleBase& other);
const ComputedStyleBase& other);


// Copies the values of any independent inherited properties from the parent
// Copies the values of any independent inherited properties from the parent
// style that are marked as inherited by this style.
// style that are marked as inherited by this style.
void PropagateIndependentInheritedProperties(
void PropagateIndependentInheritedProperties(
const ComputedStyleBase& parentStyle);
const ComputedStyleBase& parentStyle);


static bool DiffNeedsVisualRectUpdate(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsVisualRectUpdate(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffTransformData(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffTransformData(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesOpacity(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesOpacity(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesFilter(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesFilter(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesTextDecorationOrColor(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesTextDecorationOrColor(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesTransform(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesTransform(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsFullLayout(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsFullLayout(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesZIndex(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesZIndex(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsFullLayoutAndPaintInvalidationDisplayListItem(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsFullLayoutAndPaintInvalidationDisplayListItem(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesNeedsRecomputeOverflow(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesNeedsRecomputeOverflow(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsPaintInvalidationSubtree(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsPaintInvalidationSubtree(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsPaintInvalidationObject(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsPaintInvalidationObject(const ComputedStyle& a, const ComputedStyle& b);
static bool ScrollAnchorDisablingPropertyChanged(const ComputedStyle& a, const ComputedStyle& b);
static bool ScrollAnchorDisablingPropertyChanged(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsFullLayoutAndPaintInvalidationDisplayTableType(const ComputedStyle& a, const ComputedStyle& b);
static bool DiffNeedsFullLayoutAndPaintInvalidationDisplayTableType(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesBackdropFilter(const ComputedStyle& a, const ComputedStyle& b);
static bool UpdatePropertySpecificDifferencesBackdropFilter(const ComputedStyle& a, const ComputedStyle& b);


// Fields.
// Fields.
// TODO(sashab): Remove initialFoo() static methods and update callers to
// TODO(sashab): Remove initialFoo() static methods and update callers to
// use resetFoo(), which can be more efficient.
// use resetFoo(), which can be more efficient.


// AffectedByActive
// AffectedByActive
bool AffectedByActive() const {
bool AffectedByActive() const {
return static_cast<bool>(affected_by_active_);
return static_cast<bool>(affected_by_active_);
}
}
void SetAffectedByActive() {
void SetAffectedByActive() {
affected_by_active_ = static_cast<unsigned>(true);
affected_by_active_ = static_cast<unsigned>(true);
}
}


// AffectedByDrag
// AffectedByDrag
bool AffectedByDrag() const {
bool AffectedByDrag() const {
return static_cast<bool>(affected_by_drag_);
return static_cast<bool>(affected_by_drag_);
}
}
void SetAffectedByDrag() {
void SetAffectedByDrag() {
affected_by_drag_ = static_cast<unsigned>(true);
affected_by_drag_ = static_cast<unsigned>(true);
}
}


// AffectedByFocusWithin
// AffectedByFocusWithin
bool AffectedByFocusWithin() const {
bool AffectedByFocusWithin() const {
return static_cast<bool>(affected_by_focus_within_);
return static_cast<bool>(affected_by_focus_within_);
}
}
void SetAffectedByFocusWithin() {
void SetAffectedByFocusWithin() {
affected_by_focus_within_ = static_cast<unsigned>(true);
affected_by_focus_within_ = static_cast<unsigned>(true);
}
}


// AffectedByHover
// AffectedByHover
bool AffectedByHover() const {
bool AffectedByHover() const {
return static_cast<bool>(affected_by_hover_);
return static_cast<bool>(affected_by_hover_);
}
}
void SetAffectedByHover() {
void SetAffectedByHover() {
affected_by_hover_ = static_cast<unsigned>(true);
affected_by_hover_ = static_cast<unsigned>(true);
}
}


// align-content
// align-content
inline static StyleContentAlignmentData InitialAlignContent() {
return StyleContentAlignmentData(kContentPositionNormal, kContentDistributionDefault, kOverflowAlignmentDefault);
}
const StyleContentAlignmentData& AlignContent() const {
const StyleContentAlignmentData& AlignContent() const {
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->rare_non_inherited_usage_less_than_100_percent_data_->align_content_;
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->rare_non_inherited_usage_less_than_100_percent_data_->align_content_;
}
}
void SetAlignContent(const StyleContentAlignmentData& v) {
void SetAlignContent(const StyleContentAlignmentData& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->rare_non_inherited_usage_less_than_100_percent_data_->align_content_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->rare_non_inherited_usage_less_than_100_percent_data_->align_content_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->rare_non_inherited_usage_less_than_100_percent_data_.Access()->align_content_ = v;
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->rare_non_inherited_usage_less_than_100_percent_data_.Access()->align_content_ = v;
}
}
void SetAlignContent(StyleContentAlignmentData&& v) {
void SetAlignContent(StyleContentAlignmentData&& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->rare_non_inherited_usage_less_than_100_percent_data_->align_content_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->rare_non_inherited_usage_less_than_100_percent_data_->align_content_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->rare_non_inherited_usage_less_than_100_percent_data_.Access()->align_content_ = std::move(v);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->rare_non_inherited_usage_less_than_100_percent_data_.Access()->align_content_ = std::move(v);
}
}
inline void ResetAlignContent() {
inline void ResetAlignContent() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->rare_non_inherited_usage_less_than_100_percent_data_.Access()->align_content_ = StyleContentAlignmentData(kContentPositionNormal, kContentDistributionDefault, kOverflowAlignmentDefault);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->rare_non_inherited_usage_less_than_100_percent_data_.Access()->align_content_ = StyleContentAlignmentData(kContentPositionNormal, kContentDistributionDefault, kOverflowAlignmentDefault);
// ComputedStyleInitialFunctions::InitialAlignContent();
}
}


// align-items
// align-items
inline static StyleSelfAlignmentData InitialAlignItems() {
return StyleSelfAlignmentData(kItemPositionNormal, kOverflowAlignmentDefault);
}
const StyleSelfAlignmentData& AlignItems() const {
const StyleSelfAlignmentData& AlignItems() const {
return rare_non_inherited_usage_less_than_13_percent_data_->align_items_;
return rare_non_inherited_usage_less_than_13_percent_data_->align_items_;
}
}
void SetAlignItems(const StyleSelfAlignmentData& v) {
void SetAlignItems(const StyleSelfAlignmentData& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->align_items_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->align_items_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->align_items_ = v;
rare_non_inherited_usage_less_than_13_percent_data_.Access()->align_items_ = v;
}
}
void SetAlignItems(StyleSelfAlignmentData&& v) {
void SetAlignItems(StyleSelfAlignmentData&& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->align_items_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->align_items_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->align_items_ = std::move(v);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->align_items_ = std::move(v);
}
}
inline void ResetAlignItems() {
inline void ResetAlignItems() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->align_items_ = StyleSelfAlignmentData(kItemPositionNormal, kOverflowAlignmentDefault);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->align_items_ = StyleSelfAlignmentData(kItemPositionNormal, kOverflowAlignmentDefault);
// ComputedStyleInitialFunctions::InitialAlignItems();
}
}


// align-self
// align-self
inline static StyleSelfAlignmentData InitialAlignSelf() {
return StyleSelfAlignmentData(kItemPositionAuto, kOverflowAlignmentDefault);
}
const StyleSelfAlignmentData& AlignSelf() const {
const StyleSelfAlignmentData& AlignSelf() const {
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->align_self_;
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->align_self_;
}
}
void SetAlignSelf(const StyleSelfAlignmentData& v) {
void SetAlignSelf(const StyleSelfAlignmentData& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->align_self_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->align_self_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->align_self_ = v;
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->align_self_ = v;
}
}
void SetAlignSelf(StyleSelfAlignmentData&& v) {
void SetAlignSelf(StyleSelfAlignmentData&& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->align_self_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->align_self_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->align_self_ = std::move(v);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->align_self_ = std::move(v);
}
}
inline void ResetAlignSelf() {
inline void ResetAlignSelf() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->align_self_ = StyleSelfAlignmentData(kItemPositionAuto, kOverflowAlignmentDefault);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->align_self_ = StyleSelfAlignmentData(kItemPositionAuto, kOverflowAlignmentDefault);
// ComputedStyleInitialFunctions::InitialAlignSelf();
}
}


// Animations
// Animations
inline static std::unique_ptr<CSSAnimationData> InitialAnimations() {
return nullptr;
}
inline void ResetAnimations() {
inline void ResetAnimations() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->animations_ = nullptr;
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->animations_ = nullptr;
// ComputedStyleInitialFunctions::InitialAnimations();
}
}


// -webkit-appearance
// -webkit-appearance
inline static ControlPart InitialAppearance() {
return kNoControlPart;
}
ControlPart Appearance() const {
ControlPart Appearance() const {
return static_cast<ControlPart>(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->appearance_);
return static_cast<ControlPart>(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->appearance_);
}
}
void SetAppearance(ControlPart v) {
void SetAppearance(ControlPart v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->appearance_ == static_cast<unsigned>(v)))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->appearance_ == static_cast<unsigned>(v)))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->appearance_ = static_cast<unsigned>(v);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->appearance_ = static_cast<unsigned>(v);
}
}
inline void ResetAppearance() {
inline void ResetAppearance() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->appearance_ = static_cast<unsigned>(kNoControlPart);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->appearance_ = static_cast<unsigned>(kNoControlPart);
// static_cast<unsigned>(ComputedStyleInitialFunctions::InitialAppearance());
}
}


// AppliedTextDecorations
// AppliedTextDecorations
inline static RefPtr<AppliedTextDecorationList> InitialAppliedTextDecorations() {
return nullptr;
}
inline void ResetAppliedTextDecorations() {
inline void ResetAppliedTextDecorations() {
rare_inherited_usage_less_than_40_percent_data_.Access()->rare_inherited_usage_less_than_40_percent_sub_data_.Access()->applied_text_decorations_ = nullptr;
rare_inherited_usage_less_than_40_percent_data_.Access()->rare_inherited_usage_less_than_40_percent_sub_data_.Access()->applied_text_decorations_ = nullptr;
// ComputedStyleInitialFunctions::InitialAppliedTextDecorations();
}
}


// AutoRepeatNamedGridColumnLines
// AutoRepeatNamedGridColumnLines
inline static NamedGridLinesMap InitialAutoRepeatNamedGridColumnLines() {
return NamedGridLinesMap();
}
const NamedGridLinesMap& AutoRepeatNamedGridColumnLines() const {
const NamedGridLinesMap& AutoRepeatNamedGridColumnLines() const {
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_column_lines_;
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_column_lines_;
}
}
void SetAutoRepeatNamedGridColumnLines(const NamedGridLinesMap& v) {
void SetAutoRepeatNamedGridColumnLines(const NamedGridLinesMap& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_column_lines_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_column_lines_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_column_lines_ = v;
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_column_lines_ = v;
}
}
void SetAutoRepeatNamedGridColumnLines(NamedGridLinesMap&& v) {
void SetAutoRepeatNamedGridColumnLines(NamedGridLinesMap&& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_column_lines_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_column_lines_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_column_lines_ = std::move(v);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_column_lines_ = std::move(v);
}
}
inline void ResetAutoRepeatNamedGridColumnLines() {
inline void ResetAutoRepeatNamedGridColumnLines() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_column_lines_ = NamedGridLinesMap();
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_column_lines_ = NamedGridLinesMap();
// ComputedStyleInitialFunctions::InitialAutoRepeatNamedGridColumnLines();
}
}


// AutoRepeatNamedGridRowLines
// AutoRepeatNamedGridRowLines
inline static NamedGridLinesMap InitialAutoRepeatNamedGridRowLines() {
return NamedGridLinesMap();
}
const NamedGridLinesMap& AutoRepeatNamedGridRowLines() const {
const NamedGridLinesMap& AutoRepeatNamedGridRowLines() const {
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_row_lines_;
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_row_lines_;
}
}
void SetAutoRepeatNamedGridRowLines(const NamedGridLinesMap& v) {
void SetAutoRepeatNamedGridRowLines(const NamedGridLinesMap& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_row_lines_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_row_lines_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_row_lines_ = v;
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_row_lines_ = v;
}
}
void SetAutoRepeatNamedGridRowLines(NamedGridLinesMap&& v) {
void SetAutoRepeatNamedGridRowLines(NamedGridLinesMap&& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_row_lines_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_named_grid_row_lines_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_row_lines_ = std::move(v);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_row_lines_ = std::move(v);
}
}
inline void ResetAutoRepeatNamedGridRowLines() {
inline void ResetAutoRepeatNamedGridRowLines() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_row_lines_ = NamedGridLinesMap();
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_named_grid_row_lines_ = NamedGridLinesMap();
// ComputedStyleInitialFunctions::InitialAutoRepeatNamedGridRowLines();
}
}


// AutoRepeatOrderedNamedGridColumnLines
// AutoRepeatOrderedNamedGridColumnLines
inline static OrderedNamedGridLines InitialAutoRepeatOrderedNamedGridColumnLines() {
return OrderedNamedGridLines();
}
const OrderedNamedGridLines& AutoRepeatOrderedNamedGridColumnLines() const {
const OrderedNamedGridLines& AutoRepeatOrderedNamedGridColumnLines() const {
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_column_lines_;
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_column_lines_;
}
}
void SetAutoRepeatOrderedNamedGridColumnLines(const OrderedNamedGridLines& v) {
void SetAutoRepeatOrderedNamedGridColumnLines(const OrderedNamedGridLines& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_column_lines_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_column_lines_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_column_lines_ = v;
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_column_lines_ = v;
}
}
void SetAutoRepeatOrderedNamedGridColumnLines(OrderedNamedGridLines&& v) {
void SetAutoRepeatOrderedNamedGridColumnLines(OrderedNamedGridLines&& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_column_lines_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_column_lines_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_column_lines_ = std::move(v);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_column_lines_ = std::move(v);
}
}
inline void ResetAutoRepeatOrderedNamedGridColumnLines() {
inline void ResetAutoRepeatOrderedNamedGridColumnLines() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_column_lines_ = OrderedNamedGridLines();
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_column_lines_ = OrderedNamedGridLines();
// ComputedStyleInitialFunctions::InitialAutoRepeatOrderedNamedGridColumnLines();
}
}


// AutoRepeatOrderedNamedGridRowLines
// AutoRepeatOrderedNamedGridRowLines
inline static OrderedNamedGridLines InitialAutoRepeatOrderedNamedGridRowLines() {
return OrderedNamedGridLines();
}
const OrderedNamedGridLines& AutoRepeatOrderedNamedGridRowLines() const {
const OrderedNamedGridLines& AutoRepeatOrderedNamedGridRowLines() const {
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_row_lines_;
return rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_row_lines_;
}
}
void SetAutoRepeatOrderedNamedGridRowLines(const OrderedNamedGridLines& v) {
void SetAutoRepeatOrderedNamedGridRowLines(const OrderedNamedGridLines& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_row_lines_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_row_lines_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_row_lines_ = v;
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_row_lines_ = v;
}
}
void SetAutoRepeatOrderedNamedGridRowLines(OrderedNamedGridLines&& v) {
void SetAutoRepeatOrderedNamedGridRowLines(OrderedNamedGridLines&& v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_row_lines_ == v))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_13_percent_sub_data_->grid_data_->auto_repeat_ordered_named_grid_row_lines_ == v))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_row_lines_ = std::move(v);
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_row_lines_ = std::move(v);
}
}
inline void ResetAutoRepeatOrderedNamedGridRowLines() {
inline void ResetAutoRepeatOrderedNamedGridRowLines() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_row_lines_ = OrderedNamedGridLines();
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_13_percent_sub_data_.Access()->grid_data_.Access()->auto_repeat_ordered_named_grid_row_lines_ = OrderedNamedGridLines();
// ComputedStyleInitialFunctions::InitialAutoRepeatOrderedNamedGridRowLines();
}
}


// backdrop-filter
// backdrop-filter
inline static Persistent<StyleFilterData> InitialBackdropFilter() {
return StyleFilterData::Create();
}
inline void ResetBackdropFilter() {
inline void ResetBackdropFilter() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->rare_non_inherited_usage_less_than_100_percent_data_.Access()->backdrop_filter_ = StyleFilterData::Create();
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->rare_non_inherited_usage_less_than_100_percent_data_.Access()->backdrop_filter_ = StyleFilterData::Create();
// ComputedStyleInitialFunctions::InitialBackdropFilter();
}
}


// backface-visibility
// backface-visibility
inline static EBackfaceVisibility InitialBackfaceVisibility() {
return EBackfaceVisibility::kVisible;
}
EBackfaceVisibility BackfaceVisibility() const {
EBackfaceVisibility BackfaceVisibility() const {
return static_cast<EBackfaceVisibility>(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->backface_visibility_);
return static_cast<EBackfaceVisibility>(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->backface_visibility_);
}
}
void SetBackfaceVisibility(EBackfaceVisibility v) {
void SetBackfaceVisibility(EBackfaceVisibility v) {
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->backface_visibility_ == static_cast<unsigned>(v)))
if (!(rare_non_inherited_usage_less_than_13_percent_data_->rare_non_inherited_usage_less_than_33_percent_data_->backface_visibility_ == static_cast<unsigned>(v)))
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_l
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->backface_visibility_ = static_cast<unsigned>(v);
}
inline void ResetBackfaceVisibility() {
rare_non_inherited_usage_less_than_13_percent_data_.Access()->rare_non_inherited_usage_less_than_33_percent_data_.Access()->backface_visibility_ = static_cast<unsigned>(EBackfaceVisibility::kVisible);
// static_cast<unsigned>(ComputedStyleInitialFunctions::InitialBackfaceVisibility());
}

// Background
inline void ResetBackground() {
background_data_.Access()->background_ = FillLayer(kBackgroundFillLayer, true);
// ComputedStyleInitialFunctions::InitialBackgroun