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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 555;
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, 427> 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 cssMarginTrimEnabled : 1 { false };
    bool cssMotionPathEnabled : 1 { false };
    bool cssRhythmicSizingEnabled : 1 { false };
    bool cssRubyAlignEnabled : 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 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

