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

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

struct CSSPropertySettings {
    WTF_MAKE_STRUCT_FAST_ALLOCATED;

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

