// 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,
    CSSPropertyKerning = 158,
    CSSPropertyLightingColor = 159,
    CSSPropertyLineBreak = 160,
    CSSPropertyLineFitEdge = 161,
    CSSPropertyLineHeight = 162,
    CSSPropertyListStyleImage = 163,
    CSSPropertyListStylePosition = 164,
    CSSPropertyListStyleType = 165,
    CSSPropertyMarginTrim = 166,
    CSSPropertyMarkerEnd = 167,
    CSSPropertyMarkerMid = 168,
    CSSPropertyMarkerStart = 169,
    CSSPropertyMaskBorderOutset = 170,
    CSSPropertyMaskBorderRepeat = 171,
    CSSPropertyMaskBorderSlice = 172,
    CSSPropertyMaskBorderSource = 173,
    CSSPropertyMaskBorderWidth = 174,
    CSSPropertyMaskClip = 175,
    CSSPropertyMaskComposite = 176,
    CSSPropertyMaskImage = 177,
    CSSPropertyMaskMode = 178,
    CSSPropertyMaskOrigin = 179,
    CSSPropertyMaskRepeat = 180,
    CSSPropertyMaskSize = 181,
    CSSPropertyMaskType = 182,
    CSSPropertyMasonryAutoFlow = 183,
    CSSPropertyMathStyle = 184,
    CSSPropertyMaxLines = 185,
    CSSPropertyMixBlendMode = 186,
    CSSPropertyNavigation = 187,
    CSSPropertyNegative = 188,
    CSSPropertyObjectFit = 189,
    CSSPropertyObjectPosition = 190,
    CSSPropertyOffsetAnchor = 191,
    CSSPropertyOffsetDistance = 192,
    CSSPropertyOffsetPath = 193,
    CSSPropertyOffsetPosition = 194,
    CSSPropertyOffsetRotate = 195,
    CSSPropertyOpacity = 196,
    CSSPropertyOrder = 197,
    CSSPropertyOrphans = 198,
    CSSPropertyOutlineColor = 199,
    CSSPropertyOutlineOffset = 200,
    CSSPropertyOutlineStyle = 201,
    CSSPropertyOutlineWidth = 202,
    CSSPropertyOverflowAnchor = 203,
    CSSPropertyOverflowWrap = 204,
    CSSPropertyOverflowX = 205,
    CSSPropertyOverflowY = 206,
    CSSPropertyOverrideColors = 207,
    CSSPropertyPad = 208,
    CSSPropertyPage = 209,
    CSSPropertyPaintOrder = 210,
    CSSPropertyPerspective = 211,
    CSSPropertyPerspectiveOriginX = 212,
    CSSPropertyPerspectiveOriginY = 213,
    CSSPropertyPointerEvents = 214,
    CSSPropertyPosition = 215,
    CSSPropertyPositionAnchor = 216,
    CSSPropertyPrefix = 217,
    CSSPropertyPrintColorAdjust = 218,
    CSSPropertyQuotes = 219,
    CSSPropertyR = 220,
    CSSPropertyRange = 221,
    CSSPropertyResize = 222,
    CSSPropertyRotate = 223,
    CSSPropertyRowGap = 224,
    CSSPropertyRubyAlign = 225,
    CSSPropertyRubyOverhang = 226,
    CSSPropertyRx = 227,
    CSSPropertyRy = 228,
    CSSPropertyScale = 229,
    CSSPropertyScrollBehavior = 230,
    CSSPropertyScrollSnapAlign = 231,
    CSSPropertyScrollSnapStop = 232,
    CSSPropertyScrollSnapType = 233,
    CSSPropertyScrollTimelineAxis = 234,
    CSSPropertyScrollTimelineName = 235,
    CSSPropertyScrollbarColor = 236,
    CSSPropertyScrollbarGutter = 237,
    CSSPropertyScrollbarWidth = 238,
    CSSPropertyShapeImageThreshold = 239,
    CSSPropertyShapeMargin = 240,
    CSSPropertyShapeOutside = 241,
    CSSPropertyShapeRendering = 242,
    CSSPropertySize = 243,
    CSSPropertySizeAdjust = 244,
    CSSPropertySpeakAs = 245,
    CSSPropertySrc = 246,
    CSSPropertyStopColor = 247,
    CSSPropertyStopOpacity = 248,
    CSSPropertyStroke = 249,
    CSSPropertyStrokeColor = 250,
    CSSPropertyStrokeDasharray = 251,
    CSSPropertyStrokeDashoffset = 252,
    CSSPropertyStrokeLinecap = 253,
    CSSPropertyStrokeLinejoin = 254,
    CSSPropertyStrokeMiterlimit = 255,
    CSSPropertyStrokeOpacity = 256,
    CSSPropertyStrokeWidth = 257,
    CSSPropertySuffix = 258,
    CSSPropertySymbols = 259,
    CSSPropertySyntax = 260,
    CSSPropertySystem = 261,
    CSSPropertyTabSize = 262,
    CSSPropertyTableLayout = 263,
    CSSPropertyTextAlign = 264,
    CSSPropertyTextAlignLast = 265,
    CSSPropertyTextAnchor = 266,
    CSSPropertyTextBoxEdge = 267,
    CSSPropertyTextBoxTrim = 268,
    CSSPropertyTextCombineUpright = 269,
    CSSPropertyTextDecorationColor = 270,
    CSSPropertyTextDecorationLine = 271,
    CSSPropertyTextDecorationSkipInk = 272,
    CSSPropertyTextDecorationStyle = 273,
    CSSPropertyTextDecorationThickness = 274,
    CSSPropertyTextEmphasisColor = 275,
    CSSPropertyTextEmphasisPosition = 276,
    CSSPropertyTextEmphasisStyle = 277,
    CSSPropertyTextGroupAlign = 278,
    CSSPropertyTextIndent = 279,
    CSSPropertyTextJustify = 280,
    CSSPropertyTextOverflow = 281,
    CSSPropertyTextShadow = 282,
    CSSPropertyTextTransform = 283,
    CSSPropertyTextUnderlineOffset = 284,
    CSSPropertyTextUnderlinePosition = 285,
    CSSPropertyTextWrapMode = 286,
    CSSPropertyTextWrapStyle = 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 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

