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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 571;
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, 439> 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 cssLineFitEdgeEnabled : 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 useSystemAppearance : 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

