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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 548;
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, 422> computedPropertyIDs;

struct CSSPropertySettings {
    WTF_MAKE_STRUCT_FAST_ALLOCATED;

    bool CSSOMViewSmoothScrollingEnabled : 1 { false };
    bool accentColorEnabled : 1 { false };
    bool colorFilterEnabled : 1 { false };
    bool cssContentVisibilityEnabled : 1 { false };
    bool cssCounterStyleAtRulesEnabled : 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 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

