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

// Enum value of the first "real" CSS property, which excludes
// CSSPropertyInvalid and CSSPropertyCustom.
constexpr uint16_t firstCSSProperty = 2;
// Total number of enum values in the CSSPropertyID enum. If making an array
// that can be indexed into using the enum value, use this as the size.
constexpr uint16_t cssPropertyIDEnumValueCount = 591;
// Number of "real" CSS properties. This differs from cssPropertyIDEnumValueCount,
// as this doesn't consider CSSPropertyInvalid and CSSPropertyCustom.
constexpr uint16_t numCSSProperties = 589;
constexpr unsigned maxCSSPropertyNameLength = 34;
constexpr auto firstTopPriorityProperty = CSSPropertyID::CSSPropertyColorScheme;
constexpr auto lastTopPriorityProperty = CSSPropertyID::CSSPropertyWritingMode;
constexpr auto firstHighPriorityProperty = CSSPropertyID::CSSPropertyDirection;
constexpr auto lastHighPriorityProperty = CSSPropertyID::CSSPropertyWordSpacing;
constexpr auto firstMediumPriorityProperty = CSSPropertyID::CSSPropertyBackgroundImage;
constexpr auto lastMediumPriorityProperty = CSSPropertyID::CSSPropertyMaskImage;
constexpr auto firstLowPriorityProperty = CSSPropertyID::CSSPropertyAccentColor;
constexpr auto lastLowPriorityProperty = CSSPropertyID::CSSPropertyWebkitUserSelect;
constexpr auto firstLogicalGroupPhysicalProperty = CSSPropertyID::CSSPropertyBorderBottomColor;
constexpr auto lastLogicalGroupPhysicalProperty = CSSPropertyID::CSSPropertyWidth;
constexpr auto firstLogicalGroupLogicalProperty = CSSPropertyID::CSSPropertyBlockSize;
constexpr auto lastLogicalGroupLogicalProperty = CSSPropertyID::CSSPropertyScrollPaddingInlineStart;
constexpr auto firstLogicalGroupProperty = firstLogicalGroupPhysicalProperty;
constexpr auto lastLogicalGroupProperty = lastLogicalGroupLogicalProperty;
constexpr auto firstShorthandProperty = CSSPropertyID::CSSPropertyAll;
constexpr auto lastShorthandProperty = CSSPropertyID::CSSPropertyWebkitTextStroke;
constexpr uint16_t numCSSPropertyLonghands = firstShorthandProperty - firstCSSProperty;

extern const std::array<CSSPropertyID, 455> computedPropertyIDs;

template<CSSPropertyID C> struct PropertyNameConstant {
    static constexpr auto value = C;
    constexpr bool operator==(const PropertyNameConstant&) const = default;
    constexpr bool operator==(CSSPropertyID other) const { return value == other; }
};

struct CSSPropertySettings {
    WTF_DEPRECATED_MAKE_STRUCT_FAST_ALLOCATED(CSSPropertySettings);

    bool accentColorEnabled : 1 { false };
    bool colorFilterEnabled : 1 { false };
    bool crossDocumentViewTransitionsEnabled : 1 { false };
    bool cssAnchorPositioningEnabled : 1 { false };
    bool cssCornerShapeEnabled : 1 { false };
    bool cssDPropertyEnabled : 1 { false };
    bool cssFieldSizingEnabled : 1 { false };
    bool cssFontVariantEmojiEnabled : 1 { false };
    bool cssFunctionAtRuleEnabled : 1 { false };
    bool cssInputSecurityEnabled : 1 { false };
    bool cssLineClampEnabled : 1 { false };
    bool cssLineFitEdgeEnabled : 1 { false };
    bool cssMathDepthEnabled : 1 { false };
    bool cssRhythmicSizingEnabled : 1 { false };
    bool cssScrollAnchoringEnabled : 1 { false };
    bool cssScrollbarColorEnabled : 1 { false };
    bool cssScrollbarGutterEnabled : 1 { false };
    bool cssScrollbarWidthEnabled : 1 { false };
    bool cssTextGroupAlignEnabled : 1 { false };
    bool cssTextJustifyEnabled : 1 { false };
    bool cssTextSpacingTrimEnabled : 1 { false };
    bool cssUnprefixedBackdropFilterEnabled : 1 { false };
    bool overscrollBehaviorEnabled : 1 { false };
    bool supportHDRDisplayEnabled : 1 { false };
    bool textAutosizingEnabled : 1 { false };
    bool useSystemAppearance : 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 cascadeAliasProperty(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), lastLogicalGroupProperty>;
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);
}

constexpr bool isLogicalPropertyGroupProperty(CSSPropertyID property)
{
    return static_cast<uint16_t>(property) >= static_cast<uint16_t>(firstLogicalGroupPhysicalProperty)
        && static_cast<uint16_t>(property) <= static_cast<uint16_t>(lastLogicalGroupLogicalProperty);
}

constexpr bool isLogicalPropertyGroupPhysicalProperty(CSSPropertyID property)
{
    return static_cast<uint16_t>(property) >= static_cast<uint16_t>(firstLogicalGroupPhysicalProperty)
        && static_cast<uint16_t>(property) <= static_cast<uint16_t>(lastLogicalGroupPhysicalProperty);
}

constexpr bool isLogicalPropertyGroupLogicalProperty(CSSPropertyID property)
{
    return static_cast<uint16_t>(property) >= static_cast<uint16_t>(firstLogicalGroupLogicalProperty)
        && static_cast<uint16_t>(property) <= static_cast<uint16_t>(lastLogicalGroupLogicalProperty);
}

WTF::TextStream& operator<<(WTF::TextStream&, CSSPropertyID);

} // 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

