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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 569;
constexpr unsigned maxCSSPropertyNameLength = 34;
constexpr auto firstTopPriorityProperty = CSSPropertyID::CSSPropertyColorScheme;
constexpr auto lastTopPriorityProperty = CSSPropertyID::CSSPropertyWritingMode;
constexpr auto firstHighPriorityProperty = CSSPropertyID::CSSPropertyColor;
constexpr auto lastHighPriorityProperty = CSSPropertyID::CSSPropertyTextSpacingTrim;
constexpr auto firstLowPriorityProperty = CSSPropertyID::CSSPropertyAccentColor;
constexpr auto lastLowPriorityProperty = CSSPropertyID::CSSPropertyWordSpacing;
constexpr auto firstLogicalGroupProperty = CSSPropertyID::CSSPropertyBlockSize;
constexpr auto lastLogicalGroupProperty = CSSPropertyID::CSSPropertyWidth;
constexpr auto firstShorthandProperty = CSSPropertyID::CSSPropertyAll;
constexpr auto lastShorthandProperty = CSSPropertyID::CSSPropertyWebkitTextStroke;
constexpr uint16_t numCSSPropertyLonghands = firstShorthandProperty - firstCSSProperty;
extern const std::array<CSSPropertyID, 437> computedPropertyIDs;

struct CSSPropertySettings {
    WTF_MAKE_STRUCT_FAST_ALLOCATED;

    bool CSSOMViewSmoothScrollingEnabled : 1 { false };
    bool accentColorEnabled : 1 { false };
    bool colorFilterEnabled : 1 { false };
    bool crossDocumentViewTransitionsEnabled : 1 { false };
    bool cssAnchorPositioningEnabled : 1 { false };
    bool cssContentVisibilityEnabled : 1 { false };
    bool cssCounterStyleAtRulesEnabled : 1 { false };
    bool cssDPropertyEnabled : 1 { false };
    bool cssFieldSizingEnabled : 1 { false };
    bool cssFontFaceSizeAdjustEnabled : 1 { false };
    bool cssFontVariantEmojiEnabled : 1 { false };
    bool cssInputSecurityEnabled : 1 { false };
    bool cssLineClampEnabled : 1 { false };
    bool cssLineFitEdgeEnabled : 1 { false };
    bool cssMarginTrimEnabled : 1 { false };
    bool cssMotionPathEnabled : 1 { false };
    bool cssRhythmicSizingEnabled : 1 { false };
    bool cssRubyAlignEnabled : 1 { false };
    bool cssRubyOverhangEnabled : 1 { false };
    bool cssScrollAnchoringEnabled : 1 { false };
    bool cssScrollbarColorEnabled : 1 { false };
    bool cssScrollbarGutterEnabled : 1 { false };
    bool cssScrollbarWidthEnabled : 1 { false };
    bool cssTextAutospaceEnabled : 1 { false };
    bool cssTextBoxTrimEnabled : 1 { false };
    bool cssTextGroupAlignEnabled : 1 { false };
    bool cssTextJustifyEnabled : 1 { false };
    bool cssTextSpacingTrimEnabled : 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 viewTransitionClassesEnabled : 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);
}

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

