// 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,
    CSSPropertyWebkitRubyPosition = 5,
    CSSPropertyColor = 6,
    CSSPropertyDirection = 7,
    CSSPropertyDisplay = 8,
    CSSPropertyFontFamily = 9,
    CSSPropertyFontFeatureSettings = 10,
    CSSPropertyFontKerning = 11,
    CSSPropertyFontOpticalSizing = 12,
    CSSPropertyFontPalette = 13,
    CSSPropertyFontSize = 14,
    CSSPropertyFontSizeAdjust = 15,
    CSSPropertyFontStretch = 16,
    CSSPropertyFontStyle = 17,
    CSSPropertyFontSynthesisSmallCaps = 18,
    CSSPropertyFontSynthesisStyle = 19,
    CSSPropertyFontSynthesisWeight = 20,
    CSSPropertyFontVariantAlternates = 21,
    CSSPropertyFontVariantCaps = 22,
    CSSPropertyFontVariantEastAsian = 23,
    CSSPropertyFontVariantEmoji = 24,
    CSSPropertyFontVariantLigatures = 25,
    CSSPropertyFontVariantNumeric = 26,
    CSSPropertyFontVariantPosition = 27,
    CSSPropertyFontVariationSettings = 28,
    CSSPropertyFontWeight = 29,
    CSSPropertyTextOrientation = 30,
    CSSPropertyTextRendering = 31,
    CSSPropertyZoom = 32,
    CSSPropertyWebkitFontSmoothing = 33,
    CSSPropertyWebkitLocale = 34,
    CSSPropertyWebkitTextSizeAdjust = 35,
    CSSPropertyWebkitTextZoom = 36,
    CSSPropertyLetterSpacing = 37,
    CSSPropertyTextAutospace = 38,
    CSSPropertyTextSpacingTrim = 39,
    CSSPropertyAccentColor = 40,
    CSSPropertyAdditiveSymbols = 41,
    CSSPropertyAlignContent = 42,
    CSSPropertyAlignItems = 43,
    CSSPropertyAlignSelf = 44,
    CSSPropertyAlignmentBaseline = 45,
    CSSPropertyAnchorName = 46,
    CSSPropertyAnimationComposition = 47,
    CSSPropertyAnimationDelay = 48,
    CSSPropertyAnimationDirection = 49,
    CSSPropertyAnimationDuration = 50,
    CSSPropertyAnimationFillMode = 51,
    CSSPropertyAnimationIterationCount = 52,
    CSSPropertyAnimationName = 53,
    CSSPropertyAnimationPlayState = 54,
    CSSPropertyAnimationTimeline = 55,
    CSSPropertyAnimationTimingFunction = 56,
    CSSPropertyAppearance = 57,
    CSSPropertyAspectRatio = 58,
    CSSPropertyBackdropFilter = 59,
    CSSPropertyBackfaceVisibility = 60,
    CSSPropertyBackgroundAttachment = 61,
    CSSPropertyBackgroundBlendMode = 62,
    CSSPropertyBackgroundClip = 63,
    CSSPropertyBackgroundColor = 64,
    CSSPropertyBackgroundImage = 65,
    CSSPropertyBackgroundOrigin = 66,
    CSSPropertyBackgroundPositionX = 67,
    CSSPropertyBackgroundPositionY = 68,
    CSSPropertyBackgroundRepeat = 69,
    CSSPropertyBackgroundSize = 70,
    CSSPropertyBasePalette = 71,
    CSSPropertyBaselineShift = 72,
    CSSPropertyBlockEllipsis = 73,
    CSSPropertyBlockStepInsert = 74,
    CSSPropertyBlockStepSize = 75,
    CSSPropertyBorderCollapse = 76,
    CSSPropertyBorderImageOutset = 77,
    CSSPropertyBorderImageRepeat = 78,
    CSSPropertyBorderImageSlice = 79,
    CSSPropertyBorderImageSource = 80,
    CSSPropertyBorderImageWidth = 81,
    CSSPropertyBoxShadow = 82,
    CSSPropertyBoxSizing = 83,
    CSSPropertyBreakAfter = 84,
    CSSPropertyBreakBefore = 85,
    CSSPropertyBreakInside = 86,
    CSSPropertyBufferedRendering = 87,
    CSSPropertyCaptionSide = 88,
    CSSPropertyCaretColor = 89,
    CSSPropertyClear = 90,
    CSSPropertyClip = 91,
    CSSPropertyClipPath = 92,
    CSSPropertyClipRule = 93,
    CSSPropertyColorInterpolation = 94,
    CSSPropertyColorInterpolationFilters = 95,
    CSSPropertyColumnCount = 96,
    CSSPropertyColumnFill = 97,
    CSSPropertyColumnGap = 98,
    CSSPropertyColumnRuleColor = 99,
    CSSPropertyColumnRuleStyle = 100,
    CSSPropertyColumnRuleWidth = 101,
    CSSPropertyColumnSpan = 102,
    CSSPropertyColumnWidth = 103,
    CSSPropertyContain = 104,
    CSSPropertyContainerName = 105,
    CSSPropertyContainerType = 106,
    CSSPropertyContent = 107,
    CSSPropertyContentVisibility = 108,
    CSSPropertyContinue = 109,
    CSSPropertyCounterIncrement = 110,
    CSSPropertyCounterReset = 111,
    CSSPropertyCounterSet = 112,
    CSSPropertyCursor = 113,
    CSSPropertyCx = 114,
    CSSPropertyCy = 115,
    CSSPropertyD = 116,
    CSSPropertyDominantBaseline = 117,
    CSSPropertyEmptyCells = 118,
    CSSPropertyFallback = 119,
    CSSPropertyFieldSizing = 120,
    CSSPropertyFill = 121,
    CSSPropertyFillOpacity = 122,
    CSSPropertyFillRule = 123,
    CSSPropertyFilter = 124,
    CSSPropertyFlexBasis = 125,
    CSSPropertyFlexDirection = 126,
    CSSPropertyFlexGrow = 127,
    CSSPropertyFlexShrink = 128,
    CSSPropertyFlexWrap = 129,
    CSSPropertyFloat = 130,
    CSSPropertyFloodColor = 131,
    CSSPropertyFloodOpacity = 132,
    CSSPropertyFontDisplay = 133,
    CSSPropertyGlyphOrientationHorizontal = 134,
    CSSPropertyGlyphOrientationVertical = 135,
    CSSPropertyGridAutoColumns = 136,
    CSSPropertyGridAutoFlow = 137,
    CSSPropertyGridAutoRows = 138,
    CSSPropertyGridColumnEnd = 139,
    CSSPropertyGridColumnStart = 140,
    CSSPropertyGridRowEnd = 141,
    CSSPropertyGridRowStart = 142,
    CSSPropertyGridTemplateAreas = 143,
    CSSPropertyGridTemplateColumns = 144,
    CSSPropertyGridTemplateRows = 145,
    CSSPropertyHangingPunctuation = 146,
    CSSPropertyHyphenateCharacter = 147,
    CSSPropertyHyphens = 148,
    CSSPropertyImageOrientation = 149,
    CSSPropertyImageRendering = 150,
    CSSPropertyInherits = 151,
    CSSPropertyInitialValue = 152,
    CSSPropertyInputSecurity = 153,
    CSSPropertyIsolation = 154,
    CSSPropertyJustifyContent = 155,
    CSSPropertyJustifyItems = 156,
    CSSPropertyJustifySelf = 157,
    CSSPropertyLightingColor = 158,
    CSSPropertyLineBreak = 159,
    CSSPropertyLineFitEdge = 160,
    CSSPropertyLineHeight = 161,
    CSSPropertyListStyleImage = 162,
    CSSPropertyListStylePosition = 163,
    CSSPropertyListStyleType = 164,
    CSSPropertyMarginTrim = 165,
    CSSPropertyMarkerEnd = 166,
    CSSPropertyMarkerMid = 167,
    CSSPropertyMarkerStart = 168,
    CSSPropertyMaskBorderOutset = 169,
    CSSPropertyMaskBorderRepeat = 170,
    CSSPropertyMaskBorderSlice = 171,
    CSSPropertyMaskBorderSource = 172,
    CSSPropertyMaskBorderWidth = 173,
    CSSPropertyMaskClip = 174,
    CSSPropertyMaskComposite = 175,
    CSSPropertyMaskImage = 176,
    CSSPropertyMaskMode = 177,
    CSSPropertyMaskOrigin = 178,
    CSSPropertyMaskRepeat = 179,
    CSSPropertyMaskSize = 180,
    CSSPropertyMaskType = 181,
    CSSPropertyMasonryAutoFlow = 182,
    CSSPropertyMathStyle = 183,
    CSSPropertyMaxLines = 184,
    CSSPropertyMixBlendMode = 185,
    CSSPropertyNavigation = 186,
    CSSPropertyNegative = 187,
    CSSPropertyObjectFit = 188,
    CSSPropertyObjectPosition = 189,
    CSSPropertyOffsetAnchor = 190,
    CSSPropertyOffsetDistance = 191,
    CSSPropertyOffsetPath = 192,
    CSSPropertyOffsetPosition = 193,
    CSSPropertyOffsetRotate = 194,
    CSSPropertyOpacity = 195,
    CSSPropertyOrder = 196,
    CSSPropertyOrphans = 197,
    CSSPropertyOutlineColor = 198,
    CSSPropertyOutlineOffset = 199,
    CSSPropertyOutlineStyle = 200,
    CSSPropertyOutlineWidth = 201,
    CSSPropertyOverflowAnchor = 202,
    CSSPropertyOverflowWrap = 203,
    CSSPropertyOverflowX = 204,
    CSSPropertyOverflowY = 205,
    CSSPropertyOverrideColors = 206,
    CSSPropertyPad = 207,
    CSSPropertyPage = 208,
    CSSPropertyPaintOrder = 209,
    CSSPropertyPerspective = 210,
    CSSPropertyPerspectiveOriginX = 211,
    CSSPropertyPerspectiveOriginY = 212,
    CSSPropertyPointerEvents = 213,
    CSSPropertyPosition = 214,
    CSSPropertyPositionAnchor = 215,
    CSSPropertyPrefix = 216,
    CSSPropertyPrintColorAdjust = 217,
    CSSPropertyQuotes = 218,
    CSSPropertyR = 219,
    CSSPropertyRange = 220,
    CSSPropertyResize = 221,
    CSSPropertyRotate = 222,
    CSSPropertyRowGap = 223,
    CSSPropertyRubyAlign = 224,
    CSSPropertyRubyOverhang = 225,
    CSSPropertyRx = 226,
    CSSPropertyRy = 227,
    CSSPropertyScale = 228,
    CSSPropertyScrollBehavior = 229,
    CSSPropertyScrollSnapAlign = 230,
    CSSPropertyScrollSnapStop = 231,
    CSSPropertyScrollSnapType = 232,
    CSSPropertyScrollTimelineAxis = 233,
    CSSPropertyScrollTimelineName = 234,
    CSSPropertyScrollbarColor = 235,
    CSSPropertyScrollbarGutter = 236,
    CSSPropertyScrollbarWidth = 237,
    CSSPropertyShapeImageThreshold = 238,
    CSSPropertyShapeMargin = 239,
    CSSPropertyShapeOutside = 240,
    CSSPropertyShapeRendering = 241,
    CSSPropertySize = 242,
    CSSPropertySizeAdjust = 243,
    CSSPropertySpeakAs = 244,
    CSSPropertySrc = 245,
    CSSPropertyStopColor = 246,
    CSSPropertyStopOpacity = 247,
    CSSPropertyStroke = 248,
    CSSPropertyStrokeColor = 249,
    CSSPropertyStrokeDasharray = 250,
    CSSPropertyStrokeDashoffset = 251,
    CSSPropertyStrokeLinecap = 252,
    CSSPropertyStrokeLinejoin = 253,
    CSSPropertyStrokeMiterlimit = 254,
    CSSPropertyStrokeOpacity = 255,
    CSSPropertyStrokeWidth = 256,
    CSSPropertySuffix = 257,
    CSSPropertySymbols = 258,
    CSSPropertySyntax = 259,
    CSSPropertySystem = 260,
    CSSPropertyTabSize = 261,
    CSSPropertyTableLayout = 262,
    CSSPropertyTextAlign = 263,
    CSSPropertyTextAlignLast = 264,
    CSSPropertyTextAnchor = 265,
    CSSPropertyTextBoxEdge = 266,
    CSSPropertyTextBoxTrim = 267,
    CSSPropertyTextCombineUpright = 268,
    CSSPropertyTextDecorationColor = 269,
    CSSPropertyTextDecorationLine = 270,
    CSSPropertyTextDecorationSkipInk = 271,
    CSSPropertyTextDecorationStyle = 272,
    CSSPropertyTextDecorationThickness = 273,
    CSSPropertyTextEmphasisColor = 274,
    CSSPropertyTextEmphasisPosition = 275,
    CSSPropertyTextEmphasisStyle = 276,
    CSSPropertyTextGroupAlign = 277,
    CSSPropertyTextIndent = 278,
    CSSPropertyTextJustify = 279,
    CSSPropertyTextOverflow = 280,
    CSSPropertyTextShadow = 281,
    CSSPropertyTextTransform = 282,
    CSSPropertyTextUnderlineOffset = 283,
    CSSPropertyTextUnderlinePosition = 284,
    CSSPropertyTextWrapMode = 285,
    CSSPropertyTextWrapStyle = 286,
    CSSPropertyTimelineScope = 287,
    CSSPropertyTouchAction = 288,
    CSSPropertyTransform = 289,
    CSSPropertyTransformBox = 290,
    CSSPropertyTransformOriginX = 291,
    CSSPropertyTransformOriginY = 292,
    CSSPropertyTransformOriginZ = 293,
    CSSPropertyTransformStyle = 294,
    CSSPropertyTransitionBehavior = 295,
    CSSPropertyTransitionDelay = 296,
    CSSPropertyTransitionDuration = 297,
    CSSPropertyTransitionProperty = 298,
    CSSPropertyTransitionTimingFunction = 299,
    CSSPropertyTranslate = 300,
    CSSPropertyTypes = 301,
    CSSPropertyUnicodeBidi = 302,
    CSSPropertyUnicodeRange = 303,
    CSSPropertyVectorEffect = 304,
    CSSPropertyVerticalAlign = 305,
    CSSPropertyViewTimelineAxis = 306,
    CSSPropertyViewTimelineInset = 307,
    CSSPropertyViewTimelineName = 308,
    CSSPropertyViewTransitionClass = 309,
    CSSPropertyViewTransitionName = 310,
    CSSPropertyVisibility = 311,
    CSSPropertyWhiteSpaceCollapse = 312,
    CSSPropertyWidows = 313,
    CSSPropertyWillChange = 314,
    CSSPropertyWordBreak = 315,
    CSSPropertyX = 316,
    CSSPropertyY = 317,
    CSSPropertyZIndex = 318,
    CSSPropertyAppleColorFilter = 319,
    CSSPropertyApplePayButtonStyle = 320,
    CSSPropertyApplePayButtonType = 321,
    CSSPropertyInternalTextAutosizingStatus = 322,
    CSSPropertyWebkitBackdropFilter = 323,
    CSSPropertyWebkitBackgroundClip = 324,
    CSSPropertyWebkitBackgroundOrigin = 325,
    CSSPropertyWebkitBorderHorizontalSpacing = 326,
    CSSPropertyWebkitBorderVerticalSpacing = 327,
    CSSPropertyWebkitBoxAlign = 328,
    CSSPropertyWebkitBoxDecorationBreak = 329,
    CSSPropertyWebkitBoxDirection = 330,
    CSSPropertyWebkitBoxFlex = 331,
    CSSPropertyWebkitBoxFlexGroup = 332,
    CSSPropertyWebkitBoxLines = 333,
    CSSPropertyWebkitBoxOrdinalGroup = 334,
    CSSPropertyWebkitBoxOrient = 335,
    CSSPropertyWebkitBoxPack = 336,
    CSSPropertyWebkitBoxReflect = 337,
    CSSPropertyWebkitBoxShadow = 338,
    CSSPropertyWebkitColumnAxis = 339,
    CSSPropertyWebkitColumnProgression = 340,
    CSSPropertyWebkitCursorVisibility = 341,
    CSSPropertyWebkitFontSizeDelta = 342,
    CSSPropertyWebkitHyphenateLimitAfter = 343,
    CSSPropertyWebkitHyphenateLimitBefore = 344,
    CSSPropertyWebkitHyphenateLimitLines = 345,
    CSSPropertyWebkitInitialLetter = 346,
    CSSPropertyWebkitLineAlign = 347,
    CSSPropertyWebkitLineBoxContain = 348,
    CSSPropertyWebkitLineClamp = 349,
    CSSPropertyWebkitLineGrid = 350,
    CSSPropertyWebkitLineSnap = 351,
    CSSPropertyWebkitMarqueeDirection = 352,
    CSSPropertyWebkitMarqueeIncrement = 353,
    CSSPropertyWebkitMarqueeRepetition = 354,
    CSSPropertyWebkitMarqueeSpeed = 355,
    CSSPropertyWebkitMarqueeStyle = 356,
    CSSPropertyWebkitMaskClip = 357,
    CSSPropertyWebkitMaskComposite = 358,
    CSSPropertyWebkitMaskPositionX = 359,
    CSSPropertyWebkitMaskPositionY = 360,
    CSSPropertyWebkitMaskSourceType = 361,
    CSSPropertyWebkitNbspMode = 362,
    CSSPropertyWebkitRtlOrdering = 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::CSSPropertyWebkitRubyPosition;
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

