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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 541;
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::CSSPropertyWebkitUserSelect;
constexpr auto firstDeferredProperty = CSSPropertyID::CSSPropertyBackdropFilter;
constexpr auto lastDeferredProperty = CSSPropertyID::CSSPropertyWebkitTextCombine;
constexpr auto firstShorthandProperty = CSSPropertyID::CSSPropertyAll;
constexpr auto lastShorthandProperty = CSSPropertyID::CSSPropertyWebkitTextStroke;
constexpr uint16_t numCSSPropertyLonghands = firstShorthandProperty - firstCSSProperty;
extern const std::array<CSSPropertyID, 416> computedPropertyIDs;

struct CSSPropertySettings {
    WTF_MAKE_STRUCT_FAST_ALLOCATED;

    bool CSSOMViewSmoothScrollingEnabled : 1 { false };
    bool accentColorEnabled : 1 { false };
    bool colorFilterEnabled : 1 { false };
    bool cssContainIntrinsicSizeEnabled : 1 { false };
    bool cssContainerQueriesEnabled : 1 { false };
    bool cssContainmentEnabled : 1 { false };
    bool cssContentVisibilityEnabled : 1 { false };
    bool cssCounterStyleAtRulesEnabled : 1 { false };
    bool cssCustomPropertiesAndValuesEnabled : 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 cssScrollAnchoringEnabled : 1 { false };
    bool cssScrollbarColorEnabled : 1 { false };
    bool cssScrollbarGutterEnabled : 1 { false };
    bool cssScrollbarWidthEnabled : 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 relatedProperty(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), lastDeferredProperty>;
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

