// This file is automatically generated from CSSProperties.json by the process-css-properties.py script. Do not edit it.

#pragma once

#include <array>
#include <wtf/HashFunctions.h>
#include <wtf/HashTraits.h>

namespace WebCore {

class Settings;

enum CSSPropertyID : uint16_t {
    CSSPropertyInvalid = 0,
    CSSPropertyCustom = 1,
    CSSPropertyColorScheme = 2,
    CSSPropertyWritingMode = 3,
    CSSPropertyWebkitRubyPosition = 4,
    CSSPropertyColor = 5,
    CSSPropertyDirection = 6,
    CSSPropertyDisplay = 7,
    CSSPropertyFontFamily = 8,
    CSSPropertyFontFeatureSettings = 9,
    CSSPropertyFontKerning = 10,
    CSSPropertyFontOpticalSizing = 11,
    CSSPropertyFontPalette = 12,
    CSSPropertyFontSize = 13,
    CSSPropertyFontSizeAdjust = 14,
    CSSPropertyFontStretch = 15,
    CSSPropertyFontStyle = 16,
    CSSPropertyFontSynthesisSmallCaps = 17,
    CSSPropertyFontSynthesisStyle = 18,
    CSSPropertyFontSynthesisWeight = 19,
    CSSPropertyFontVariantAlternates = 20,
    CSSPropertyFontVariantCaps = 21,
    CSSPropertyFontVariantEastAsian = 22,
    CSSPropertyFontVariantEmoji = 23,
    CSSPropertyFontVariantLigatures = 24,
    CSSPropertyFontVariantNumeric = 25,
    CSSPropertyFontVariantPosition = 26,
    CSSPropertyFontVariationSettings = 27,
    CSSPropertyFontWeight = 28,
    CSSPropertyTextOrientation = 29,
    CSSPropertyTextRendering = 30,
    CSSPropertyZoom = 31,
    CSSPropertyWebkitFontSmoothing = 32,
    CSSPropertyWebkitLocale = 33,
    CSSPropertyWebkitTextSizeAdjust = 34,
    CSSPropertyWebkitTextZoom = 35,
    CSSPropertyLetterSpacing = 36,
    CSSPropertyTextAutospace = 37,
    CSSPropertyTextSpacingTrim = 38,
    CSSPropertyAccentColor = 39,
    CSSPropertyAdditiveSymbols = 40,
    CSSPropertyAlignContent = 41,
    CSSPropertyAlignItems = 42,
    CSSPropertyAlignSelf = 43,
    CSSPropertyAlignmentBaseline = 44,
    CSSPropertyAlt = 45,
    CSSPropertyAnimationComposition = 46,
    CSSPropertyAnimationDelay = 47,
    CSSPropertyAnimationDirection = 48,
    CSSPropertyAnimationDuration = 49,
    CSSPropertyAnimationFillMode = 50,
    CSSPropertyAnimationIterationCount = 51,
    CSSPropertyAnimationName = 52,
    CSSPropertyAnimationPlayState = 53,
    CSSPropertyAnimationTimeline = 54,
    CSSPropertyAnimationTimingFunction = 55,
    CSSPropertyAppearance = 56,
    CSSPropertyAspectRatio = 57,
    CSSPropertyBackfaceVisibility = 58,
    CSSPropertyBackgroundAttachment = 59,
    CSSPropertyBackgroundBlendMode = 60,
    CSSPropertyBackgroundColor = 61,
    CSSPropertyBackgroundImage = 62,
    CSSPropertyBackgroundPositionX = 63,
    CSSPropertyBackgroundPositionY = 64,
    CSSPropertyBackgroundRepeat = 65,
    CSSPropertyBackgroundSize = 66,
    CSSPropertyBasePalette = 67,
    CSSPropertyBaselineShift = 68,
    CSSPropertyBlockStepInsert = 69,
    CSSPropertyBlockStepSize = 70,
    CSSPropertyBorderCollapse = 71,
    CSSPropertyBorderImageOutset = 72,
    CSSPropertyBorderImageRepeat = 73,
    CSSPropertyBorderImageSlice = 74,
    CSSPropertyBorderImageSource = 75,
    CSSPropertyBorderImageWidth = 76,
    CSSPropertyBoxSizing = 77,
    CSSPropertyBreakAfter = 78,
    CSSPropertyBreakBefore = 79,
    CSSPropertyBreakInside = 80,
    CSSPropertyBufferedRendering = 81,
    CSSPropertyCaptionSide = 82,
    CSSPropertyCaretColor = 83,
    CSSPropertyClear = 84,
    CSSPropertyClip = 85,
    CSSPropertyClipPath = 86,
    CSSPropertyClipRule = 87,
    CSSPropertyColorInterpolation = 88,
    CSSPropertyColorInterpolationFilters = 89,
    CSSPropertyColumnCount = 90,
    CSSPropertyColumnFill = 91,
    CSSPropertyColumnGap = 92,
    CSSPropertyColumnRuleColor = 93,
    CSSPropertyColumnRuleStyle = 94,
    CSSPropertyColumnRuleWidth = 95,
    CSSPropertyColumnSpan = 96,
    CSSPropertyColumnWidth = 97,
    CSSPropertyContain = 98,
    CSSPropertyContainerName = 99,
    CSSPropertyContainerType = 100,
    CSSPropertyContent = 101,
    CSSPropertyContentVisibility = 102,
    CSSPropertyCounterIncrement = 103,
    CSSPropertyCounterReset = 104,
    CSSPropertyCounterSet = 105,
    CSSPropertyCursor = 106,
    CSSPropertyCx = 107,
    CSSPropertyCy = 108,
    CSSPropertyDominantBaseline = 109,
    CSSPropertyEmptyCells = 110,
    CSSPropertyFallback = 111,
    CSSPropertyFill = 112,
    CSSPropertyFillOpacity = 113,
    CSSPropertyFillRule = 114,
    CSSPropertyFilter = 115,
    CSSPropertyFlexBasis = 116,
    CSSPropertyFlexDirection = 117,
    CSSPropertyFlexGrow = 118,
    CSSPropertyFlexShrink = 119,
    CSSPropertyFlexWrap = 120,
    CSSPropertyFloat = 121,
    CSSPropertyFloodColor = 122,
    CSSPropertyFloodOpacity = 123,
    CSSPropertyFontDisplay = 124,
    CSSPropertyGlyphOrientationHorizontal = 125,
    CSSPropertyGlyphOrientationVertical = 126,
    CSSPropertyGridAutoColumns = 127,
    CSSPropertyGridAutoFlow = 128,
    CSSPropertyGridAutoRows = 129,
    CSSPropertyGridColumnEnd = 130,
    CSSPropertyGridColumnStart = 131,
    CSSPropertyGridRowEnd = 132,
    CSSPropertyGridRowStart = 133,
    CSSPropertyGridTemplateAreas = 134,
    CSSPropertyGridTemplateColumns = 135,
    CSSPropertyGridTemplateRows = 136,
    CSSPropertyHangingPunctuation = 137,
    CSSPropertyHyphenateCharacter = 138,
    CSSPropertyHyphens = 139,
    CSSPropertyImageOrientation = 140,
    CSSPropertyImageRendering = 141,
    CSSPropertyInherits = 142,
    CSSPropertyInitialValue = 143,
    CSSPropertyInputSecurity = 144,
    CSSPropertyIsolation = 145,
    CSSPropertyJustifyContent = 146,
    CSSPropertyJustifyItems = 147,
    CSSPropertyJustifySelf = 148,
    CSSPropertyKerning = 149,
    CSSPropertyLightingColor = 150,
    CSSPropertyLineBreak = 151,
    CSSPropertyLineHeight = 152,
    CSSPropertyListStyleImage = 153,
    CSSPropertyListStylePosition = 154,
    CSSPropertyListStyleType = 155,
    CSSPropertyMarginTrim = 156,
    CSSPropertyMarkerEnd = 157,
    CSSPropertyMarkerMid = 158,
    CSSPropertyMarkerStart = 159,
    CSSPropertyMaskBorderOutset = 160,
    CSSPropertyMaskBorderRepeat = 161,
    CSSPropertyMaskBorderSlice = 162,
    CSSPropertyMaskBorderSource = 163,
    CSSPropertyMaskBorderWidth = 164,
    CSSPropertyMaskImage = 165,
    CSSPropertyMaskOrigin = 166,
    CSSPropertyMaskRepeat = 167,
    CSSPropertyMaskSize = 168,
    CSSPropertyMaskType = 169,
    CSSPropertyMasonryAutoFlow = 170,
    CSSPropertyMathStyle = 171,
    CSSPropertyMixBlendMode = 172,
    CSSPropertyNegative = 173,
    CSSPropertyObjectFit = 174,
    CSSPropertyObjectPosition = 175,
    CSSPropertyOffsetAnchor = 176,
    CSSPropertyOffsetDistance = 177,
    CSSPropertyOffsetPath = 178,
    CSSPropertyOffsetPosition = 179,
    CSSPropertyOffsetRotate = 180,
    CSSPropertyOpacity = 181,
    CSSPropertyOrder = 182,
    CSSPropertyOrphans = 183,
    CSSPropertyOutlineColor = 184,
    CSSPropertyOutlineOffset = 185,
    CSSPropertyOutlineStyle = 186,
    CSSPropertyOutlineWidth = 187,
    CSSPropertyOverflowAnchor = 188,
    CSSPropertyOverflowWrap = 189,
    CSSPropertyOverflowX = 190,
    CSSPropertyOverflowY = 191,
    CSSPropertyOverrideColors = 192,
    CSSPropertyPad = 193,
    CSSPropertyPage = 194,
    CSSPropertyPaintOrder = 195,
    CSSPropertyPerspective = 196,
    CSSPropertyPerspectiveOriginX = 197,
    CSSPropertyPerspectiveOriginY = 198,
    CSSPropertyPointerEvents = 199,
    CSSPropertyPosition = 200,
    CSSPropertyPrefix = 201,
    CSSPropertyPrintColorAdjust = 202,
    CSSPropertyQuotes = 203,
    CSSPropertyR = 204,
    CSSPropertyRange = 205,
    CSSPropertyResize = 206,
    CSSPropertyRotate = 207,
    CSSPropertyRowGap = 208,
    CSSPropertyRx = 209,
    CSSPropertyRy = 210,
    CSSPropertyScale = 211,
    CSSPropertyScrollBehavior = 212,
    CSSPropertyScrollSnapAlign = 213,
    CSSPropertyScrollSnapStop = 214,
    CSSPropertyScrollSnapType = 215,
    CSSPropertyScrollTimelineAxis = 216,
    CSSPropertyScrollTimelineName = 217,
    CSSPropertyScrollbarColor = 218,
    CSSPropertyScrollbarGutter = 219,
    CSSPropertyScrollbarWidth = 220,
    CSSPropertyShapeImageThreshold = 221,
    CSSPropertyShapeMargin = 222,
    CSSPropertyShapeOutside = 223,
    CSSPropertyShapeRendering = 224,
    CSSPropertySize = 225,
    CSSPropertySizeAdjust = 226,
    CSSPropertySpeakAs = 227,
    CSSPropertySrc = 228,
    CSSPropertyStopColor = 229,
    CSSPropertyStopOpacity = 230,
    CSSPropertyStroke = 231,
    CSSPropertyStrokeColor = 232,
    CSSPropertyStrokeDasharray = 233,
    CSSPropertyStrokeDashoffset = 234,
    CSSPropertyStrokeLinecap = 235,
    CSSPropertyStrokeLinejoin = 236,
    CSSPropertyStrokeMiterlimit = 237,
    CSSPropertyStrokeOpacity = 238,
    CSSPropertyStrokeWidth = 239,
    CSSPropertySuffix = 240,
    CSSPropertySymbols = 241,
    CSSPropertySyntax = 242,
    CSSPropertySystem = 243,
    CSSPropertyTabSize = 244,
    CSSPropertyTableLayout = 245,
    CSSPropertyTextAlign = 246,
    CSSPropertyTextAlignLast = 247,
    CSSPropertyTextAnchor = 248,
    CSSPropertyTextBoxEdge = 249,
    CSSPropertyTextBoxTrim = 250,
    CSSPropertyTextDecorationColor = 251,
    CSSPropertyTextDecorationLine = 252,
    CSSPropertyTextDecorationSkipInk = 253,
    CSSPropertyTextDecorationStyle = 254,
    CSSPropertyTextDecorationThickness = 255,
    CSSPropertyTextEmphasisColor = 256,
    CSSPropertyTextEmphasisPosition = 257,
    CSSPropertyTextEmphasisStyle = 258,
    CSSPropertyTextGroupAlign = 259,
    CSSPropertyTextIndent = 260,
    CSSPropertyTextJustify = 261,
    CSSPropertyTextOverflow = 262,
    CSSPropertyTextShadow = 263,
    CSSPropertyTextTransform = 264,
    CSSPropertyTextUnderlineOffset = 265,
    CSSPropertyTextUnderlinePosition = 266,
    CSSPropertyTextWrapMode = 267,
    CSSPropertyTextWrapStyle = 268,
    CSSPropertyTouchAction = 269,
    CSSPropertyTransform = 270,
    CSSPropertyTransformBox = 271,
    CSSPropertyTransformOriginX = 272,
    CSSPropertyTransformOriginY = 273,
    CSSPropertyTransformOriginZ = 274,
    CSSPropertyTransformStyle = 275,
    CSSPropertyTransitionDelay = 276,
    CSSPropertyTransitionDuration = 277,
    CSSPropertyTransitionProperty = 278,
    CSSPropertyTransitionTimingFunction = 279,
    CSSPropertyTranslate = 280,
    CSSPropertyUnicodeBidi = 281,
    CSSPropertyUnicodeRange = 282,
    CSSPropertyVectorEffect = 283,
    CSSPropertyVerticalAlign = 284,
    CSSPropertyViewTimelineAxis = 285,
    CSSPropertyViewTimelineInset = 286,
    CSSPropertyViewTimelineName = 287,
    CSSPropertyViewTransitionName = 288,
    CSSPropertyVisibility = 289,
    CSSPropertyWhiteSpaceCollapse = 290,
    CSSPropertyWidows = 291,
    CSSPropertyWillChange = 292,
    CSSPropertyWordBreak = 293,
    CSSPropertyX = 294,
    CSSPropertyY = 295,
    CSSPropertyZIndex = 296,
    CSSPropertyAppleColorFilter = 297,
    CSSPropertyApplePayButtonStyle = 298,
    CSSPropertyApplePayButtonType = 299,
    CSSPropertyInternalTextAutosizingStatus = 300,
    CSSPropertyWebkitBorderHorizontalSpacing = 301,
    CSSPropertyWebkitBorderVerticalSpacing = 302,
    CSSPropertyWebkitBoxAlign = 303,
    CSSPropertyWebkitBoxDecorationBreak = 304,
    CSSPropertyWebkitBoxDirection = 305,
    CSSPropertyWebkitBoxFlex = 306,
    CSSPropertyWebkitBoxFlexGroup = 307,
    CSSPropertyWebkitBoxLines = 308,
    CSSPropertyWebkitBoxOrdinalGroup = 309,
    CSSPropertyWebkitBoxOrient = 310,
    CSSPropertyWebkitBoxPack = 311,
    CSSPropertyWebkitBoxReflect = 312,
    CSSPropertyWebkitColumnAxis = 313,
    CSSPropertyWebkitColumnProgression = 314,
    CSSPropertyWebkitCursorVisibility = 315,
    CSSPropertyWebkitFontSizeDelta = 316,
    CSSPropertyWebkitHyphenateLimitAfter = 317,
    CSSPropertyWebkitHyphenateLimitBefore = 318,
    CSSPropertyWebkitHyphenateLimitLines = 319,
    CSSPropertyWebkitInitialLetter = 320,
    CSSPropertyWebkitLineAlign = 321,
    CSSPropertyWebkitLineBoxContain = 322,
    CSSPropertyWebkitLineClamp = 323,
    CSSPropertyWebkitLineGrid = 324,
    CSSPropertyWebkitLineSnap = 325,
    CSSPropertyWebkitMarqueeDirection = 326,
    CSSPropertyWebkitMarqueeIncrement = 327,
    CSSPropertyWebkitMarqueeRepetition = 328,
    CSSPropertyWebkitMarqueeSpeed = 329,
    CSSPropertyWebkitMarqueeStyle = 330,
    CSSPropertyWebkitMaskPositionX = 331,
    CSSPropertyWebkitMaskPositionY = 332,
    CSSPropertyWebkitNbspMode = 333,
    CSSPropertyWebkitRtlOrdering = 334,
    CSSPropertyWebkitTapHighlightColor = 335,
    CSSPropertyWebkitTextDecorationsInEffect = 336,
    CSSPropertyWebkitTextFillColor = 337,
    CSSPropertyWebkitTextSecurity = 338,
    CSSPropertyWebkitTextStrokeColor = 339,
    CSSPropertyWebkitTextStrokeWidth = 340,
    CSSPropertyWebkitUserDrag = 341,
    CSSPropertyWebkitUserModify = 342,
    CSSPropertyWebkitUserSelect = 343,
    CSSPropertyWordSpacing = 344,
    CSSPropertyBackdropFilter = 345,
    CSSPropertyBackgroundClip = 346,
    CSSPropertyBackgroundOrigin = 347,
    CSSPropertyBlockSize = 348,
    CSSPropertyBorderBlockEndColor = 349,
    CSSPropertyBorderBlockEndStyle = 350,
    CSSPropertyBorderBlockEndWidth = 351,
    CSSPropertyBorderBlockStartColor = 352,
    CSSPropertyBorderBlockStartStyle = 353,
    CSSPropertyBorderBlockStartWidth = 354,
    CSSPropertyBorderBottomColor = 355,
    CSSPropertyBorderBottomLeftRadius = 356,
    CSSPropertyBorderBottomRightRadius = 357,
    CSSPropertyBorderBottomStyle = 358,
    CSSPropertyBorderBottomWidth = 359,
    CSSPropertyBorderEndEndRadius = 360,
    CSSPropertyBorderEndStartRadius = 361,
    CSSPropertyBorderInlineEndColor = 362,
    CSSPropertyBorderInlineEndStyle = 363,
    CSSPropertyBorderInlineEndWidth = 364,
    CSSPropertyBorderInlineStartColor = 365,
    CSSPropertyBorderInlineStartStyle = 366,
    CSSPropertyBorderInlineStartWidth = 367,
    CSSPropertyBorderLeftColor = 368,
    CSSPropertyBorderLeftStyle = 369,
    CSSPropertyBorderLeftWidth = 370,
    CSSPropertyBorderRightColor = 371,
    CSSPropertyBorderRightStyle = 372,
    CSSPropertyBorderRightWidth = 373,
    CSSPropertyBorderStartEndRadius = 374,
    CSSPropertyBorderStartStartRadius = 375,
    CSSPropertyBorderTopColor = 376,
    CSSPropertyBorderTopLeftRadius = 377,
    CSSPropertyBorderTopRightRadius = 378,
    CSSPropertyBorderTopStyle = 379,
    CSSPropertyBorderTopWidth = 380,
    CSSPropertyBottom = 381,
    CSSPropertyBoxShadow = 382,
    CSSPropertyContainIntrinsicBlockSize = 383,
    CSSPropertyContainIntrinsicHeight = 384,
    CSSPropertyContainIntrinsicInlineSize = 385,
    CSSPropertyContainIntrinsicWidth = 386,
    CSSPropertyHeight = 387,
    CSSPropertyInlineSize = 388,
    CSSPropertyInsetBlockEnd = 389,
    CSSPropertyInsetBlockStart = 390,
    CSSPropertyInsetInlineEnd = 391,
    CSSPropertyInsetInlineStart = 392,
    CSSPropertyLeft = 393,
    CSSPropertyMarginBlockEnd = 394,
    CSSPropertyMarginBlockStart = 395,
    CSSPropertyMarginBottom = 396,
    CSSPropertyMarginInlineEnd = 397,
    CSSPropertyMarginInlineStart = 398,
    CSSPropertyMarginLeft = 399,
    CSSPropertyMarginRight = 400,
    CSSPropertyMarginTop = 401,
    CSSPropertyMaskClip = 402,
    CSSPropertyMaskComposite = 403,
    CSSPropertyMaskMode = 404,
    CSSPropertyMaxBlockSize = 405,
    CSSPropertyMaxHeight = 406,
    CSSPropertyMaxInlineSize = 407,
    CSSPropertyMaxWidth = 408,
    CSSPropertyMinBlockSize = 409,
    CSSPropertyMinHeight = 410,
    CSSPropertyMinInlineSize = 411,
    CSSPropertyMinWidth = 412,
    CSSPropertyOverscrollBehaviorBlock = 413,
    CSSPropertyOverscrollBehaviorInline = 414,
    CSSPropertyOverscrollBehaviorX = 415,
    CSSPropertyOverscrollBehaviorY = 416,
    CSSPropertyPaddingBlockEnd = 417,
    CSSPropertyPaddingBlockStart = 418,
    CSSPropertyPaddingBottom = 419,
    CSSPropertyPaddingInlineEnd = 420,
    CSSPropertyPaddingInlineStart = 421,
    CSSPropertyPaddingLeft = 422,
    CSSPropertyPaddingRight = 423,
    CSSPropertyPaddingTop = 424,
    CSSPropertyRight = 425,
    CSSPropertyScrollMarginBlockEnd = 426,
    CSSPropertyScrollMarginBlockStart = 427,
    CSSPropertyScrollMarginBottom = 428,
    CSSPropertyScrollMarginInlineEnd = 429,
    CSSPropertyScrollMarginInlineStart = 430,
    CSSPropertyScrollMarginLeft = 431,
    CSSPropertyScrollMarginRight = 432,
    CSSPropertyScrollMarginTop = 433,
    CSSPropertyScrollPaddingBlockEnd = 434,
    CSSPropertyScrollPaddingBlockStart = 435,
    CSSPropertyScrollPaddingBottom = 436,
    CSSPropertyScrollPaddingInlineEnd = 437,
    CSSPropertyScrollPaddingInlineStart = 438,
    CSSPropertyScrollPaddingLeft = 439,
    CSSPropertyScrollPaddingRight = 440,
    CSSPropertyScrollPaddingTop = 441,
    CSSPropertyTextCombineUpright = 442,
    CSSPropertyTop = 443,
    CSSPropertyWidth = 444,
    CSSPropertyWebkitBackdropFilter = 445,
    CSSPropertyWebkitBackgroundClip = 446,
    CSSPropertyWebkitBackgroundOrigin = 447,
    CSSPropertyWebkitBoxShadow = 448,
    CSSPropertyWebkitMaskClip = 449,
    CSSPropertyWebkitMaskComposite = 450,
    CSSPropertyWebkitMaskSourceType = 451,
    CSSPropertyWebkitTextCombine = 452,
    CSSPropertyAll = 453,
    CSSPropertyAnimation = 454,
    CSSPropertyBackground = 455,
    CSSPropertyBackgroundPosition = 456,
    CSSPropertyBorder = 457,
    CSSPropertyBorderBlock = 458,
    CSSPropertyBorderBlockColor = 459,
    CSSPropertyBorderBlockEnd = 460,
    CSSPropertyBorderBlockStart = 461,
    CSSPropertyBorderBlockStyle = 462,
    CSSPropertyBorderBlockWidth = 463,
    CSSPropertyBorderBottom = 464,
    CSSPropertyBorderColor = 465,
    CSSPropertyBorderImage = 466,
    CSSPropertyBorderInline = 467,
    CSSPropertyBorderInlineColor = 468,
    CSSPropertyBorderInlineEnd = 469,
    CSSPropertyBorderInlineStart = 470,
    CSSPropertyBorderInlineStyle = 471,
    CSSPropertyBorderInlineWidth = 472,
    CSSPropertyBorderLeft = 473,
    CSSPropertyBorderRadius = 474,
    CSSPropertyBorderRight = 475,
    CSSPropertyBorderSpacing = 476,
    CSSPropertyBorderStyle = 477,
    CSSPropertyBorderTop = 478,
    CSSPropertyBorderWidth = 479,
    CSSPropertyColumnRule = 480,
    CSSPropertyColumns = 481,
    CSSPropertyContainIntrinsicSize = 482,
    CSSPropertyContainer = 483,
    CSSPropertyFlex = 484,
    CSSPropertyFlexFlow = 485,
    CSSPropertyFont = 486,
    CSSPropertyFontSynthesis = 487,
    CSSPropertyFontVariant = 488,
    CSSPropertyGap = 489,
    CSSPropertyGrid = 490,
    CSSPropertyGridArea = 491,
    CSSPropertyGridColumn = 492,
    CSSPropertyGridRow = 493,
    CSSPropertyGridTemplate = 494,
    CSSPropertyInset = 495,
    CSSPropertyInsetBlock = 496,
    CSSPropertyInsetInline = 497,
    CSSPropertyListStyle = 498,
    CSSPropertyMargin = 499,
    CSSPropertyMarginBlock = 500,
    CSSPropertyMarginInline = 501,
    CSSPropertyMarker = 502,
    CSSPropertyMask = 503,
    CSSPropertyMaskBorder = 504,
    CSSPropertyMaskPosition = 505,
    CSSPropertyOffset = 506,
    CSSPropertyOutline = 507,
    CSSPropertyOverflow = 508,
    CSSPropertyOverscrollBehavior = 509,
    CSSPropertyPadding = 510,
    CSSPropertyPaddingBlock = 511,
    CSSPropertyPaddingInline = 512,
    CSSPropertyPageBreakAfter = 513,
    CSSPropertyPageBreakBefore = 514,
    CSSPropertyPageBreakInside = 515,
    CSSPropertyPerspectiveOrigin = 516,
    CSSPropertyPlaceContent = 517,
    CSSPropertyPlaceItems = 518,
    CSSPropertyPlaceSelf = 519,
    CSSPropertyScrollMargin = 520,
    CSSPropertyScrollMarginBlock = 521,
    CSSPropertyScrollMarginInline = 522,
    CSSPropertyScrollPadding = 523,
    CSSPropertyScrollPaddingBlock = 524,
    CSSPropertyScrollPaddingInline = 525,
    CSSPropertyScrollTimeline = 526,
    CSSPropertyTextDecoration = 527,
    CSSPropertyTextDecorationSkip = 528,
    CSSPropertyTextEmphasis = 529,
    CSSPropertyTextWrap = 530,
    CSSPropertyTransformOrigin = 531,
    CSSPropertyTransition = 532,
    CSSPropertyViewTimeline = 533,
    CSSPropertyWhiteSpace = 534,
    CSSPropertyWebkitBackgroundSize = 535,
    CSSPropertyWebkitBorderImage = 536,
    CSSPropertyWebkitBorderRadius = 537,
    CSSPropertyWebkitColumnBreakAfter = 538,
    CSSPropertyWebkitColumnBreakBefore = 539,
    CSSPropertyWebkitColumnBreakInside = 540,
    CSSPropertyWebkitMask = 541,
    CSSPropertyWebkitMaskBoxImage = 542,
    CSSPropertyWebkitMaskPosition = 543,
    CSSPropertyWebkitPerspective = 544,
    CSSPropertyWebkitTextDecoration = 545,
    CSSPropertyWebkitTextOrientation = 546,
    CSSPropertyWebkitTextStroke = 547,
};

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 546;
constexpr unsigned maxCSSPropertyNameLength = 34;
constexpr auto firstTopPriorityProperty = CSSPropertyID::CSSPropertyColorScheme;
constexpr auto lastTopPriorityProperty = CSSPropertyID::CSSPropertyWebkitRubyPosition;
constexpr auto firstHighPriorityProperty = CSSPropertyID::CSSPropertyColor;
constexpr auto lastHighPriorityProperty = CSSPropertyID::CSSPropertyTextSpacingTrim;
constexpr auto firstLowPriorityProperty = CSSPropertyID::CSSPropertyAccentColor;
constexpr auto lastLowPriorityProperty = CSSPropertyID::CSSPropertyWordSpacing;
constexpr auto firstDeferredProperty = CSSPropertyID::CSSPropertyBackdropFilter;
constexpr auto lastDeferredProperty = CSSPropertyID::CSSPropertyWebkitTextCombine;
constexpr auto firstShorthandProperty = CSSPropertyID::CSSPropertyAll;
constexpr auto lastShorthandProperty = CSSPropertyID::CSSPropertyWebkitTextStroke;
constexpr uint16_t numCSSPropertyLonghands = firstShorthandProperty - firstCSSProperty;
extern const std::array<CSSPropertyID, 420> computedPropertyIDs;

struct CSSPropertySettings {
    WTF_MAKE_STRUCT_FAST_ALLOCATED;

    bool CSSOMViewSmoothScrollingEnabled : 1 { false };
    bool accentColorEnabled : 1 { false };
    bool colorFilterEnabled : 1 { false };
    bool cssContainIntrinsicSizeEnabled : 1 { false };
    bool cssContainerQueriesEnabled : 1 { false };
    bool cssContainmentEnabled : 1 { false };
    bool cssContentVisibilityEnabled : 1 { false };
    bool cssCounterStyleAtRulesEnabled : 1 { false };
    bool cssCustomPropertiesAndValuesEnabled : 1 { false };
    bool cssFontFaceSizeAdjustEnabled : 1 { false };
    bool cssFontVariantEmojiEnabled : 1 { false };
    bool cssInputSecurityEnabled : 1 { false };
    bool cssMarginTrimEnabled : 1 { false };
    bool cssMotionPathEnabled : 1 { false };
    bool cssRhythmicSizingEnabled : 1 { false };
    bool cssScrollAnchoringEnabled : 1 { false };
    bool cssScrollbarColorEnabled : 1 { false };
    bool cssScrollbarGutterEnabled : 1 { false };
    bool cssScrollbarWidthEnabled : 1 { false };
    bool cssTextBoxTrimEnabled : 1 { false };
    bool cssTextGroupAlignEnabled : 1 { false };
    bool cssTextJustifyEnabled : 1 { false };
    bool cssTextSpacingEnabled : 1 { false };
    bool cssTextWrapStyleEnabled : 1 { false };
    bool cssUnprefixedBackdropFilterEnabled : 1 { false };
    bool masonryEnabled : 1 { false };
    bool overscrollBehaviorEnabled : 1 { false };
    bool scrollDrivenAnimationsEnabled : 1 { false };
    bool textAutosizingEnabled : 1 { false };
    bool viewTransitionsEnabled : 1 { false };

    CSSPropertySettings() = default;
    explicit CSSPropertySettings(const Settings&);
};

bool operator==(const CSSPropertySettings&, const CSSPropertySettings&);
void add(Hasher&, const CSSPropertySettings&);

constexpr bool isLonghand(CSSPropertyID);
bool isInternal(CSSPropertyID);
bool isExposed(CSSPropertyID, const Settings*);
bool isExposed(CSSPropertyID, const Settings&);
bool isExposed(CSSPropertyID, const CSSPropertySettings*);
bool isExposed(CSSPropertyID, const CSSPropertySettings&);

CSSPropertyID findCSSProperty(const char* characters, unsigned length);
ASCIILiteral nameLiteral(CSSPropertyID);
const AtomString& nameString(CSSPropertyID);
String nameForIDL(CSSPropertyID);

CSSPropertyID relatedProperty(CSSPropertyID);

template<CSSPropertyID first, CSSPropertyID last> struct CSSPropertiesRange {
    struct Iterator {
        uint16_t index { static_cast<uint16_t>(first) };
        constexpr CSSPropertyID operator*() const { return static_cast<CSSPropertyID>(index); }
        constexpr Iterator& operator++() { ++index; return *this; }
        constexpr bool operator==(std::nullptr_t) const { return index > static_cast<uint16_t>(last); }
    };
    static constexpr Iterator begin() { return { }; }
    static constexpr std::nullptr_t end() { return nullptr; }
    static constexpr uint16_t size() { return last - first + 1; }
};
using AllCSSPropertiesRange = CSSPropertiesRange<static_cast<CSSPropertyID>(firstCSSProperty), lastShorthandProperty>;
using AllLonghandCSSPropertiesRange = CSSPropertiesRange<static_cast<CSSPropertyID>(firstCSSProperty), lastDeferredProperty>;
constexpr AllCSSPropertiesRange allCSSProperties() { return { }; }
constexpr AllLonghandCSSPropertiesRange allLonghandCSSProperties() { return { }; }

constexpr bool isLonghand(CSSPropertyID property)
{
    return static_cast<uint16_t>(property) >= firstCSSProperty && static_cast<uint16_t>(property) < static_cast<uint16_t>(firstShorthandProperty);
}
constexpr bool isShorthand(CSSPropertyID property)
{
    return static_cast<uint16_t>(property) >= static_cast<uint16_t>(firstShorthandProperty) && static_cast<uint16_t>(property) <= static_cast<uint16_t>(lastShorthandProperty);
}

} // namespace WebCore

namespace WTF {

template<> struct DefaultHash<WebCore::CSSPropertyID> : IntHash<unsigned> { };

template<> struct HashTraits<WebCore::CSSPropertyID> : GenericHashTraits<WebCore::CSSPropertyID> {
    static const bool emptyValueIsZero = true;
    static void constructDeletedValue(WebCore::CSSPropertyID& slot) { slot = static_cast<WebCore::CSSPropertyID>(std::numeric_limits<uint16_t>::max()); }
    static bool isDeletedValue(WebCore::CSSPropertyID value) { return static_cast<uint16_t>(value) == std::numeric_limits<uint16_t>::max(); }
};

} // namespace WTF

namespace std {

template<> struct iterator_traits<WebCore::AllCSSPropertiesRange::Iterator> { using value_type = WebCore::CSSPropertyID; };
template<> struct iterator_traits<WebCore::AllLonghandCSSPropertiesRange::Iterator> { using value_type = WebCore::CSSPropertyID; };

} // namespace std

