// 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,
    CSSPropertyKerning = 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,
    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 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

