// 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,
    CSSPropertyWebkitBorderHorizontalSpacing = 296,
    CSSPropertyWebkitBorderVerticalSpacing = 297,
    CSSPropertyWebkitBoxAlign = 298,
    CSSPropertyWebkitBoxDecorationBreak = 299,
    CSSPropertyWebkitBoxDirection = 300,
    CSSPropertyWebkitBoxFlex = 301,
    CSSPropertyWebkitBoxFlexGroup = 302,
    CSSPropertyWebkitBoxLines = 303,
    CSSPropertyWebkitBoxOrdinalGroup = 304,
    CSSPropertyWebkitBoxOrient = 305,
    CSSPropertyWebkitBoxPack = 306,
    CSSPropertyWebkitBoxReflect = 307,
    CSSPropertyWebkitColumnAxis = 308,
    CSSPropertyWebkitColumnProgression = 309,
    CSSPropertyWebkitCursorVisibility = 310,
    CSSPropertyWebkitFontSizeDelta = 311,
    CSSPropertyWebkitHyphenateLimitAfter = 312,
    CSSPropertyWebkitHyphenateLimitBefore = 313,
    CSSPropertyWebkitHyphenateLimitLines = 314,
    CSSPropertyWebkitInitialLetter = 315,
    CSSPropertyWebkitLineAlign = 316,
    CSSPropertyWebkitLineBoxContain = 317,
    CSSPropertyWebkitLineClamp = 318,
    CSSPropertyWebkitLineGrid = 319,
    CSSPropertyWebkitLineSnap = 320,
    CSSPropertyWebkitMarqueeDirection = 321,
    CSSPropertyWebkitMarqueeIncrement = 322,
    CSSPropertyWebkitMarqueeRepetition = 323,
    CSSPropertyWebkitMarqueeSpeed = 324,
    CSSPropertyWebkitMarqueeStyle = 325,
    CSSPropertyWebkitMaskPositionX = 326,
    CSSPropertyWebkitMaskPositionY = 327,
    CSSPropertyWebkitNbspMode = 328,
    CSSPropertyWebkitRtlOrdering = 329,
    CSSPropertyWebkitTapHighlightColor = 330,
    CSSPropertyWebkitTextDecorationsInEffect = 331,
    CSSPropertyWebkitTextFillColor = 332,
    CSSPropertyWebkitTextSecurity = 333,
    CSSPropertyWebkitTextStrokeColor = 334,
    CSSPropertyWebkitTextStrokeWidth = 335,
    CSSPropertyWebkitUserDrag = 336,
    CSSPropertyWebkitUserModify = 337,
    CSSPropertyWebkitUserSelect = 338,
    CSSPropertyBackdropFilter = 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,
    CSSPropertyWebkitBackdropFilter = 439,
    CSSPropertyWebkitBackgroundClip = 440,
    CSSPropertyWebkitBackgroundOrigin = 441,
    CSSPropertyWebkitBoxShadow = 442,
    CSSPropertyWebkitMaskClip = 443,
    CSSPropertyWebkitMaskComposite = 444,
    CSSPropertyWebkitMaskSourceType = 445,
    CSSPropertyWebkitTextCombine = 446,
    CSSPropertyAll = 447,
    CSSPropertyAnimation = 448,
    CSSPropertyBackground = 449,
    CSSPropertyBackgroundPosition = 450,
    CSSPropertyBorder = 451,
    CSSPropertyBorderBlock = 452,
    CSSPropertyBorderBlockColor = 453,
    CSSPropertyBorderBlockEnd = 454,
    CSSPropertyBorderBlockStart = 455,
    CSSPropertyBorderBlockStyle = 456,
    CSSPropertyBorderBlockWidth = 457,
    CSSPropertyBorderBottom = 458,
    CSSPropertyBorderColor = 459,
    CSSPropertyBorderImage = 460,
    CSSPropertyBorderInline = 461,
    CSSPropertyBorderInlineColor = 462,
    CSSPropertyBorderInlineEnd = 463,
    CSSPropertyBorderInlineStart = 464,
    CSSPropertyBorderInlineStyle = 465,
    CSSPropertyBorderInlineWidth = 466,
    CSSPropertyBorderLeft = 467,
    CSSPropertyBorderRadius = 468,
    CSSPropertyBorderRight = 469,
    CSSPropertyBorderSpacing = 470,
    CSSPropertyBorderStyle = 471,
    CSSPropertyBorderTop = 472,
    CSSPropertyBorderWidth = 473,
    CSSPropertyColumnRule = 474,
    CSSPropertyColumns = 475,
    CSSPropertyContainIntrinsicSize = 476,
    CSSPropertyContainer = 477,
    CSSPropertyFlex = 478,
    CSSPropertyFlexFlow = 479,
    CSSPropertyFont = 480,
    CSSPropertyFontSynthesis = 481,
    CSSPropertyFontVariant = 482,
    CSSPropertyGap = 483,
    CSSPropertyGrid = 484,
    CSSPropertyGridArea = 485,
    CSSPropertyGridColumn = 486,
    CSSPropertyGridRow = 487,
    CSSPropertyGridTemplate = 488,
    CSSPropertyInset = 489,
    CSSPropertyInsetBlock = 490,
    CSSPropertyInsetInline = 491,
    CSSPropertyListStyle = 492,
    CSSPropertyMargin = 493,
    CSSPropertyMarginBlock = 494,
    CSSPropertyMarginInline = 495,
    CSSPropertyMarker = 496,
    CSSPropertyMask = 497,
    CSSPropertyMaskBorder = 498,
    CSSPropertyMaskPosition = 499,
    CSSPropertyOffset = 500,
    CSSPropertyOutline = 501,
    CSSPropertyOverflow = 502,
    CSSPropertyOverscrollBehavior = 503,
    CSSPropertyPadding = 504,
    CSSPropertyPaddingBlock = 505,
    CSSPropertyPaddingInline = 506,
    CSSPropertyPageBreakAfter = 507,
    CSSPropertyPageBreakBefore = 508,
    CSSPropertyPageBreakInside = 509,
    CSSPropertyPerspectiveOrigin = 510,
    CSSPropertyPlaceContent = 511,
    CSSPropertyPlaceItems = 512,
    CSSPropertyPlaceSelf = 513,
    CSSPropertyScrollMargin = 514,
    CSSPropertyScrollMarginBlock = 515,
    CSSPropertyScrollMarginInline = 516,
    CSSPropertyScrollPadding = 517,
    CSSPropertyScrollPaddingBlock = 518,
    CSSPropertyScrollPaddingInline = 519,
    CSSPropertyTextDecoration = 520,
    CSSPropertyTextDecorationSkip = 521,
    CSSPropertyTextEmphasis = 522,
    CSSPropertyTransformOrigin = 523,
    CSSPropertyTransition = 524,
    CSSPropertyWhiteSpace = 525,
    CSSPropertyWebkitBackgroundSize = 526,
    CSSPropertyWebkitBorderImage = 527,
    CSSPropertyWebkitBorderRadius = 528,
    CSSPropertyWebkitColumnBreakAfter = 529,
    CSSPropertyWebkitColumnBreakBefore = 530,
    CSSPropertyWebkitColumnBreakInside = 531,
    CSSPropertyWebkitMask = 532,
    CSSPropertyWebkitMaskBoxImage = 533,
    CSSPropertyWebkitMaskPosition = 534,
    CSSPropertyWebkitPerspective = 535,
    CSSPropertyWebkitTextDecoration = 536,
    CSSPropertyWebkitTextOrientation = 537,
    CSSPropertyWebkitTextStroke = 538,
};

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 537;
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, 414> 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 cssUnprefixedBackdropFilterEnabled { 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

