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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 557;
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, 428> 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 viewTransitionClassesEnabled : 1 { false };
    bool viewTransitionsEnabled : 1 { false };

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

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

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

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

CSSPropertyID cascadeAliasProperty(CSSPropertyID);

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

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

} // namespace WebCore

namespace WTF {

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

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

} // namespace WTF

namespace std {

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

} // namespace std

