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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 553;
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, 426> 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 cssMarginTrimEnabled : 1 { false };
    bool cssMotionPathEnabled : 1 { false };
    bool cssRhythmicSizingEnabled : 1 { false };
    bool cssRubyAlignEnabled : 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 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 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

