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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 533;
constexpr unsigned maxCSSPropertyNameLength = 34;
constexpr auto firstTopPriorityProperty = CSSPropertyID::CSSPropertyColorScheme;
constexpr auto lastTopPriorityProperty = CSSPropertyID::CSSPropertyWebkitRubyPosition;
constexpr auto firstHighPriorityProperty = CSSPropertyID::CSSPropertyColor;
constexpr auto lastHighPriorityProperty = CSSPropertyID::CSSPropertyLetterSpacing;
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, 411> 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 cssIndividualTransformPropertiesEnabled { false };
    bool cssInputSecurityEnabled { false };
    bool cssMarginTrimEnabled { false };
    bool cssMotionPathEnabled { false };
    bool cssRhythmicSizingEnabled { false };
    bool cssScrollAnchoringEnabled { false };
    bool cssScrollbarGutterEnabled { false };
    bool cssScrollbarWidthEnabled { false };
    bool cssTextAlignLastEnabled { false };
    bool cssTextBoxTrimEnabled { false };
    bool cssTextGroupAlignEnabled { false };
    bool cssTextJustifyEnabled { false };
    bool cssTextSpacingEnabled { false };
    bool cssTextWrapEnabled { false };
    bool cssWhiteSpaceCollapseEnabled { false };
    bool masonryEnabled { false };
    bool masonryTrackAlignmentEnabled { false };
    bool overscrollBehaviorEnabled { false };
    bool textAutosizingEnabled { false };
    bool webAnimationsCompositeOperationsEnabled { false };
    bool wordBoundaryDetectionEnabled { 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

