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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 536;
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::CSSPropertyBackgroundClip;
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, 413> computedPropertyIDs;

struct CSSPropertySettings {
    WTF_MAKE_STRUCT_FAST_ALLOCATED;

    bool CSSOMViewSmoothScrollingEnabled { false };
    bool accentColorEnabled { false };
    bool aspectRatioEnabled { false };
    bool colorFilterEnabled { false };
    bool cssContainIntrinsicSizeEnabled { false };
    bool cssContainerQueriesEnabled { false };
    bool cssContainmentEnabled { false };
    bool cssContentVisibilityEnabled { false };
    bool cssCounterStyleAtRulesEnabled { false };
    bool cssCustomPropertiesAndValuesEnabled { false };
    bool cssFontFaceSizeAdjustEnabled { false };
    bool cssFontVariantEmojiEnabled { false };
    bool cssIndividualTransformPropertiesEnabled { false };
    bool cssInputSecurityEnabled { false };
    bool cssMarginTrimEnabled { false };
    bool cssMotionPathEnabled { false };
    bool cssRhythmicSizingEnabled { false };
    bool cssScrollAnchoringEnabled { false };
    bool cssScrollbarColorEnabled { false };
    bool cssScrollbarGutterEnabled { false };
    bool cssScrollbarWidthEnabled { false };
    bool cssTextAlignLastEnabled { false };
    bool cssTextBoxTrimEnabled { false };
    bool cssTextGroupAlignEnabled { false };
    bool cssTextJustifyEnabled { false };
    bool cssTextSpacingEnabled { false };
    bool cssWhiteSpaceLonghandsEnabled { false };
    bool masonryEnabled { false };
    bool masonryTrackAlignmentEnabled { false };
    bool overscrollBehaviorEnabled { false };
    bool textAutosizingEnabled { false };
    bool webAnimationsCompositeOperationsEnabled { 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

