blob: 78f6c4d72c653fd71d51fc9e917af9856f7d11e2 [file] [log] [blame]
{
// This file specifies fields in ComputedStyle that we would like to
// generate, but are not CSS properties.
parameters: {
// If true, we do not include this field in ComputedStyleBase::InheritFrom
// and ComputedStyleBase::CopyNonInheritedFromCached.
custom_copy: {
default: false,
},
// If true, we do not include this field in ComputedStyleBase::InheritedEqual
// and ComputedStyleBase::NonInheritedEqual.
custom_compare: {
default: false,
},
// Controls whether the field has the "mutable" C++ keyword.
mutable: {
default: false,
},
// The rest is the same as CSSProperties.json5, but the only relevant ones in
// this file are:
// name, field_template, include_paths, default_value, type_name, keyword,
// inherited
},
data: [
{
name: "IsLink",
field_template: "monotonic_flag",
default_value: "false",
custom_copy: true,
custom_compare: true,
},
{
name: "BorderLeftColorIsCurrentColor",
field_template: "primitive",
default_value: "true",
type_name: "bool",
field_group: "surround",
},
{
name: "BorderRightColorIsCurrentColor",
field_template: "primitive",
default_value: "true",
type_name: "bool",
field_group: "surround",
},
{
name: "BorderTopColorIsCurrentColor",
field_template: "primitive",
default_value: "true",
type_name: "bool",
field_group: "surround",
},
{
name: "BorderBottomColorIsCurrentColor",
field_template: "primitive",
default_value: "true",
type_name: "bool",
field_group: "surround",
},
{
name: "OriginalDisplay",
field_template: "keyword",
default_value: "inline",
type_name: "EDisplay",
keywords: [
"inline", "block", "list-item", "inline-block", "table", "inline-table", "table-row-group", "table-header-group",
"table-footer-group", "table-row", "table-column-group", "table-column", "table-cell", "table-caption", "-webkit-box",
"-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "contents", "flow-root", "none",
],
},
{
name: "InsideLink",
field_template: "keyword",
default_value: "not-inside-link",
keywords: ["not-inside-link", "inside-unvisited-link", "inside-visited-link"],
inherited: true,
},
// Style can not be shared.
{
name: "Unique",
field_template: "monotonic_flag",
default_value: "false",
custom_copy: true,
custom_compare: true,
mutable: true,
},
// Whether this style is affected by these pseudo-classes.
{
name: "AffectedByFocusWithin",
field_template: "monotonic_flag",
default_value: "false",
custom_copy: true,
custom_compare: true,
},
{
name: "AffectedByHover",
field_template: "monotonic_flag",
default_value: "false",
custom_copy: true,
custom_compare: true,
},
{
name: "AffectedByActive",
field_template: "monotonic_flag",
default_value: "false",
custom_copy: true,
custom_compare: true,
},
{
name: "AffectedByDrag",
field_template: "monotonic_flag",
default_value: "false",
custom_copy: true,
custom_compare: true,
},
// A non-inherited property references a variable or @apply is used
{
name: "HasVariableReferenceFromNonInheritedProperty",
field_template: "monotonic_flag",
default_value: "false",
custom_copy: true,
custom_compare: true,
},
// Explicitly inherits a non-inherited property
{
name: "HasExplicitlyInheritedProperties",
field_template: "monotonic_flag",
default_value: "false",
custom_copy: true,
custom_compare: true,
mutable: true,
},
// These are set if we used viewport or rem units when resolving a length.
// FIXME: HasViewportUnits should be a monotonic_flag.
{
name: "HasViewportUnits",
field_template: "primitive",
default_value: "false",
type_name: "bool",
custom_compare: true,
},
{
name: "HasRemUnits",
field_template: "monotonic_flag",
default_value: "false",
custom_compare: true,
},
// These properties only have generated storage, and their methods are handwritten in ComputedStyle.
{
name: "EmptyState",
field_template: "primitive",
default_value: "false",
type_name: "bool",
custom_copy: true,
custom_compare: true,
computed_style_custom_functions: ["setter"],
},
{
name: "StyleType",
field_template: "primitive",
field_size: 6,
default_value: "PseudoId::kPseudoIdNone",
type_name: "unsigned",
custom_copy: true,
custom_compare: true,
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "PseudoBits",
field_template: "primitive",
field_size: 8,
default_value: "kPseudoIdNone",
type_name: "unsigned",
custom_copy: true,
custom_compare: true,
computed_style_custom_functions: ["getter", "setter"],
},
// True if 'underline solid' is the only text decoration on this element.
{
name: "HasSimpleUnderline",
field_template: "primitive",
default_value: "false",
type_name: "bool",
inherited: true,
computed_style_custom_functions: ["getter", "setter"],
},
// FIXME: vertical align is actually a CSS property, but since we don't support union fields
// which can be either a keyword or Length, this is specified in this file for now. Remove this
// once we can support union fields.
{
name: "VerticalAlign",
field_template: "primitive",
field_size: 4,
type_name: "unsigned",
default_value: "static_cast<unsigned>(EVerticalAlign::kBaseline)",
computed_style_custom_functions: ["initial", "getter", "setter"],
},
{
name: "VerticalAlignLength",
field_template: "external",
default_value: "Length()",
include_paths: ["platform/Length.h"],
type_name: "Length",
field_group: "box",
getter: "GetVerticalAlignLength",
computed_style_custom_functions: ["setter"],
},
{
name: "border-image",
field_template: "external",
include_paths: ["core/style/NinePieceImage.h"],
type_name: "NinePieceImage",
field_group: "surround",
default_value: "NinePieceImage()",
},
{
name: "Background",
field_template: "external",
include_paths: ["core/style/FillLayer.h"],
type_name: "FillLayer",
default_value: "FillLayer(EFillLayerType::kBackground, true)",
field_group: "background",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "HasAutoClip",
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "visual",
computed_style_custom_functions: ["setter"],
},
{
name: "HasAutoZIndex",
field_template: "primitive",
type_name: "bool",
field_group: "box",
default_value: "true",
computed_style_custom_functions: ["setter"],
},
{
name: "font",
field_template: "external",
include_paths: ["platform/fonts/Font.h"],
type_name: "Font",
field_group: "inherited->font",
inherited: true,
default_value: "Font()",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkColor",
inherited: true,
field_template: "<color>",
field_group: "inherited",
default_value: "Color::kBlack",
},
{
name: "TextAutosizingMultiplier",
inherited: true,
field_template: "primitive",
type_name: "float",
field_group: "inherited",
default_value: "1.0",
computed_style_custom_functions: ["setter"],
},
{
name: "VisitedLinkTextStrokeColor",
inherited: true,
field_template: "external",
type_name: "Color",
include_paths: ["platform/graphics/Color.h"],
default_value: "Color()",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkTextFillColor",
inherited: true,
field_template: "external",
type_name: "Color",
include_paths: ["platform/graphics/Color.h"],
default_value: "Color()",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkTextEmphasisColor",
inherited: true,
field_template: "external",
type_name: "Color",
include_paths: ["platform/graphics/Color.h"],
default_value: "Color()",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkCaretColor",
inherited: true,
field_template: "external",
type_name: "Color",
include_paths: ["platform/graphics/Color.h"],
default_value: "Color()",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "CursorData",
inherited: true,
field_template: "external",
type_name: "CursorList",
include_paths: ["core/style/CursorList.h"],
default_value: "nullptr",
wrapper_pointer_name: "Persistent",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "EffectiveZoom",
inherited: true,
field_template: "primitive",
type_name: "float",
default_value: "1.0f",
field_group: "*",
computed_style_custom_functions: ["setter"],
},
{
name: "TextStrokeColorIsCurrentColor",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "TextFillColorIsCurrentColor",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "TextEmphasisColorIsCurrentColor",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "CaretColorIsCurrentColor",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "false",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "CaretColorIsAuto",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkTextStrokeColorIsCurrentColor",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkTextFillColorIsCurrentColor",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkTextEmphasisColorIsCurrentColor",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkCaretColorIsCurrentColor",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "false",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkCaretColorIsAuto",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "true",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "TextEmphasisFill",
inherited: true,
field_template: "keyword",
type_name: "TextEmphasisFill",
default_value: "filled",
keywords: ["filled", "open"],
field_group: "*",
},
{
name: "TextEmphasisMark",
inherited: true,
field_template: "keyword",
type_name: "TextEmphasisMark",
default_value: "none",
keywords: ["none", "auto", "dot", "circle", "double-circle", "triangle", "sesame", "custom"],
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "TextIndentLine",
inherited: true,
field_template: "keyword",
type_name: "TextIndentLine",
keywords: ["first-line", "each-line"],
default_value: "first-line",
field_group: "*",
},
{
name: "TextIndentType",
inherited: true,
field_template: "keyword",
type_name: "TextIndentType",
keywords: ["normal", "hanging"],
default_value: "normal",
field_group: "*",
},
// Though will-change is not itself an inherited property, the intent
// expressed by 'will-change: contents' includes descendants.
{
name: "SubtreeWillChangeContents",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "false",
field_group: "*",
},
{
name: "SelfOrAncestorHasDirAutoAttribute",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "false",
field_group: "*",
},
// Though position: sticky is not itself an inherited property, being a
// descendent of a sticky element changes some document lifecycle logic.
{
name: "SubtreeIsSticky",
inherited: true,
field_template: "primitive",
type_name: "bool",
default_value: "false",
field_group: "*",
},
{
name: "HyphenationLimitBefore",
inherited: true,
field_template: "primitive",
type_name: "short",
default_value: "-1",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "HyphenationLimitAfter",
inherited: true,
field_template: "primitive",
type_name: "short",
default_value: "-1",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "HyphenationLimitLines",
inherited: true,
field_template: "primitive",
type_name: "short",
default_value: "-1",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "EffectiveTouchAction",
inherited: true,
field_template: "primitive",
include_paths: ["platform/graphics/TouchAction.h"],
type_name: "TouchAction",
field_size: 6,
default_value: "TouchAction::kTouchActionAuto",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "TextEmphasisCustomMark",
inherited: true,
field_template: "external",
type_name: "AtomicString",
include_paths: ["platform/wtf/text/AtomicString.h"],
default_value: "AtomicString()",
field_group: "*",
},
{
name: "AppliedTextDecorations",
inherited: true,
field_template: "external",
type_name: "AppliedTextDecorationList",
include_paths: ["core/style/AppliedTextDecorationList.h"],
default_value: "nullptr",
wrapper_pointer_name: "scoped_refptr",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "InheritedVariables",
inherited: true,
field_template: "external",
type_name: "StyleInheritedVariables",
include_paths: ["core/style/StyleInheritedVariables.h"],
default_value: "nullptr",
wrapper_pointer_name: "scoped_refptr",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "Mask",
field_template: "external",
type_name: "FillLayer",
field_group: "*",
default_value: "FillLayer(EFillLayerType::kMask, true)",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "CounterDirectives",
field_template: "external",
type_name: "CounterDirectiveMap",
field_group: "*",
default_value: "nullptr",
wrapper_pointer_name: "std::unique_ptr",
include_paths: ["core/style/CounterDirectives.h"],
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "Animations",
field_template: "external",
type_name: "CSSAnimationData",
field_group: "*",
default_value: "nullptr",
wrapper_pointer_name: "std::unique_ptr",
include_paths: ["core/animation/css/CSSAnimationData.h"],
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "Transitions",
field_template: "external",
type_name: "CSSTransitionData",
field_group: "*",
default_value: "nullptr",
wrapper_pointer_name: "std::unique_ptr",
include_paths: ["core/animation/css/CSSTransitionData.h"],
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "MaskBoxImage",
field_template: "external",
type_name: "NinePieceImage",
field_group: "*",
default_value: "NinePieceImage::MaskDefaults()",
include_paths: ["core/style/NinePieceImage.h"],
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "PageSize",
field_template: "external",
type_name: "FloatSize",
field_group: "*",
default_value: "FloatSize()",
include_paths: ["platform/geometry/FloatSize.h"],
},
{
name: "OutlineColorIsCurrentColor",
field_template: "primitive",
default_value: "true",
type_name: "bool",
field_group: "*",
},
{
name: "OutlineStyleIsAuto",
field_template: "primitive",
type_name: "bool",
default_value: "false",
field_group: "*",
},
{
name: "VisitedLinkTextDecorationColor",
field_template: "external",
type_name: "StyleColor",
field_group: "*",
default_value: "StyleColor::CurrentColor()",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkBackgroundColor",
field_template: "external",
type_name: "StyleColor",
field_group: "*",
default_value: "StyleColor(Color::kTransparent)",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkOutlineColor",
field_template: "external",
type_name: "StyleColor",
field_group: "*",
default_value: "StyleColor::CurrentColor()",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkBorderLeftColor",
field_template: "external",
type_name: "StyleColor",
field_group: "*",
default_value: "StyleColor::CurrentColor()",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkBorderRightColor",
field_template: "external",
type_name: "StyleColor",
field_group: "*",
default_value: "StyleColor::CurrentColor()",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkBorderTopColor",
field_template: "external",
type_name: "StyleColor",
field_group: "*",
default_value: "StyleColor::CurrentColor()",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "VisitedLinkBorderBottomColor",
field_template: "external",
type_name: "StyleColor",
field_group: "*",
default_value: "StyleColor::CurrentColor()",
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "CallbackSelectors",
field_template: "external",
type_name: "Vector<String>",
field_group: "*",
default_value: "Vector<String>()",
include_paths: ["platform/wtf/Vector.h", "platform/wtf/text/WTFString.h"],
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "PaintImages",
field_template: "external",
type_name: "PaintImages",
field_group: "*",
default_value: "nullptr",
wrapper_pointer_name: "std::unique_ptr",
custom_compare: true,
include_paths: ["core/style/PaintImages.h"],
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "NonInheritedVariables",
field_template: "external",
type_name: "StyleNonInheritedVariables",
field_group: "*",
default_value: "nullptr",
wrapper_pointer_name: "std::unique_ptr",
include_paths: ["core/style/StyleNonInheritedVariables.h"],
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "PageSizeType",
field_template: "keyword",
keywords: ["auto", "landscape", "portrait", "resolved"],
field_group: "*",
default_value: "auto",
},
{
name: "HasCurrentOpacityAnimation",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
{
name: "HasCurrentTransformAnimation",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
{
name: "HasCurrentFilterAnimation",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
{
name: "HasCurrentBackdropFilterAnimation",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
{
name: "IsRunningOpacityAnimationOnCompositor",
field_template: "primitive",
type_name: "bool",
field_group: "*",
custom_compare: true,
default_value: "false",
},
{
name: "IsRunningTransformAnimationOnCompositor",
field_template: "primitive",
type_name: "bool",
field_group: "*",
custom_compare: true,
default_value: "false",
},
{
name: "IsRunningFilterAnimationOnCompositor",
field_template: "primitive",
type_name: "bool",
field_group: "*",
custom_compare: true,
default_value: "false",
},
{
name: "IsRunningBackdropFilterAnimationOnCompositor",
field_template: "primitive",
type_name: "bool",
field_group: "*",
custom_compare: true,
default_value: "false",
},
// A stacking context is painted atomically and defines a stacking order,
// whereas a containing stacking context defines in which order the stacking
// contexts below are painted.
// See CSS 2.1, Appendix E (https://www.w3.org/TR/CSS21/zindex.html) for more
// details.
{
name: "IsStackingContext",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
// Plugins require accelerated compositing for reasons external to blink.
// In which case, we need to update the ComputedStyle on the
// LayoutEmbeddedObject, so store this bit so that the style actually changes
// when the plugin becomes composited.
{
name: "RequiresAcceleratedCompositingForExternalReasons",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
{
name: "HasInlineTransform",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
// Style adjustment for appearance is disabled when certain properties are set.
{
name: "HasAuthorBackground",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
{
name: "HasAuthorBorder",
field_template: "primitive",
type_name: "bool",
field_group: "*",
default_value: "false",
},
{
name: "WillChangeProperties",
field_template: "external",
type_name: "Vector<CSSPropertyID>",
field_group: "*->will-change",
default_value: "Vector<CSSPropertyID>()",
include_paths: ["platform/wtf/Vector.h", "core/CSSPropertyNames.h"],
},
{
name: "WillChangeContents",
field_template: "primitive",
type_name: "bool",
field_group: "*->will-change",
default_value: "false",
},
{
name: "WillChangeScrollPosition",
field_template: "primitive",
type_name: "bool",
field_group: "*->will-change",
default_value: "false",
},
{
name: "ColumnRuleColorIsCurrentColor",
field_template: "primitive",
default_value: "true",
type_name: "bool",
field_group: "*->multi-col",
},
{
name: "VisitedLinkColumnRuleColor",
field_template: "external",
type_name: "StyleColor",
field_group: "*->multi-col",
default_value: "StyleColor::CurrentColor()",
include_paths: ["core/css/StyleColor.h"],
computed_style_custom_functions: ["getter", "setter"],
},
{
name: "HasAutoColumnWidth",
field_template: "primitive",
type_name: "bool",
field_group: "*->multi-col",
default_value: "true",
computed_style_custom_functions: ["setter"],
},
{
name: "HasAutoColumnCount",
field_template: "primitive",
type_name: "bool",
field_group: "*->multi-col",
default_value: "true",
computed_style_custom_functions: ["setter"],
},
{
name: "HasNormalColumnGap",
field_template: "primitive",
type_name: "bool",
field_group: "*->multi-col",
default_value: "true",
computed_style_custom_functions: ["setter"],
},
{
name: "NamedGridColumnLines",
field_template: "external",
type_name: "NamedGridLinesMap",
field_group: "*->grid",
default_value: "NamedGridLinesMap()",
include_paths: ["core/style/NamedGridLinesMap.h"],
},
{
name: "NamedGridRowLines",
field_template: "external",
type_name: "NamedGridLinesMap",
field_group: "*->grid",
default_value: "NamedGridLinesMap()",
include_paths: ["core/style/NamedGridLinesMap.h"],
},
{
name: "OrderedNamedGridColumnLines",
field_template: "external",
type_name: "OrderedNamedGridLines",
field_group: "*->grid",
default_value: "OrderedNamedGridLines()",
include_paths: ["core/style/OrderedNamedGridLines.h"],
},
{
name: "OrderedNamedGridRowLines",
field_template: "external",
type_name: "OrderedNamedGridLines",
field_group: "*->grid",
default_value: "OrderedNamedGridLines()",
include_paths: ["core/style/OrderedNamedGridLines.h"],
},
{
name: "AutoRepeatNamedGridColumnLines",
field_template: "external",
type_name: "NamedGridLinesMap",
field_group: "*->grid",
default_value: "NamedGridLinesMap()",
include_paths: ["core/style/NamedGridLinesMap.h"],
},
{
name: "AutoRepeatNamedGridRowLines",
field_template: "external",
type_name: "NamedGridLinesMap",
field_group: "*->grid",
default_value: "NamedGridLinesMap()",
include_paths: ["core/style/NamedGridLinesMap.h"],
},
{
name: "AutoRepeatOrderedNamedGridColumnLines",
field_template: "external",
type_name: "OrderedNamedGridLines",
field_group: "*->grid",
default_value: "OrderedNamedGridLines()",
include_paths: ["core/style/OrderedNamedGridLines.h"],
},
{
name: "AutoRepeatOrderedNamedGridRowLines",
field_template: "external",
type_name: "OrderedNamedGridLines",
field_group: "*->grid",
default_value: "OrderedNamedGridLines()",
include_paths: ["core/style/OrderedNamedGridLines.h"],
},
{
name: "NamedGridArea",
field_template: "external",
type_name: "NamedGridAreaMap",
field_group: "*->grid",
default_value: "NamedGridAreaMap()",
include_paths: ["core/style/GridArea.h"]
},
{
name: "NamedGridAreaRowCount",
field_template: "primitive",
type_name: "size_t",
field_group: "*->grid",
default_value: "0",
},
{
name: "NamedGridAreaColumnCount",
field_template: "primitive",
type_name: "size_t",
field_group: "*->grid",
default_value: "0",
},
{
name: "GridAutoRepeatColumns",
field_template: "external",
type_name: "Vector<GridTrackSize>",
field_group: "*->grid",
default_value: "Vector<GridTrackSize>()",
include_paths: ["platform/wtf/Vector.h", "core/style/GridTrackSize.h"],
},
{
name: "GridAutoRepeatRows",
field_template: "external",
type_name: "Vector<GridTrackSize>",
field_group: "*->grid",
default_value: "Vector<GridTrackSize>()",
include_paths: ["platform/wtf/Vector.h", "core/style/GridTrackSize.h"],
},
{
name: "GridAutoRepeatColumnsInsertionPoint",
field_template: "primitive",
type_name: "size_t",
field_group: "*->grid",
default_value: "0",
},
{
name: "GridAutoRepeatRowsInsertionPoint",
field_template: "primitive",
type_name: "size_t",
field_group: "*->grid",
default_value: "0",
},
{
name: "GridAutoRepeatColumnsType",
field_template: "keyword",
type_name: "AutoRepeatType",
field_group: "*->grid",
keywords: ["no-auto-repeat", "auto-fill", "auto-fit"],
default_value: "no-auto-repeat",
},
{
name: "GridAutoRepeatRowsType",
field_template: "keyword",
type_name: "AutoRepeatType",
field_group: "*->grid",
keywords: ["no-auto-repeat", "auto-fill", "auto-fit"],
default_value: "no-auto-repeat",
},
],
}