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

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

struct CSSPropertySettings {
    WTF_MAKE_STRUCT_FAST_ALLOCATED;

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

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

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

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

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

CSSPropertyID relatedProperty(CSSPropertyID);

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

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

} // namespace WebCore

namespace WTF {

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

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

} // namespace WTF

namespace std {

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

} // namespace std

