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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 562;
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, 432> 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 cssLineClampEnabled : 1 { false };
    bool cssMarginTrimEnabled : 1 { false };
    bool cssMotionPathEnabled : 1 { false };
    bool cssRhythmicSizingEnabled : 1 { false };
    bool cssRubyAlignEnabled : 1 { false };
    bool cssRubyOverhangEnabled : 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 cssTextSpacingTrimEnabled : 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

