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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 516;
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, 400> 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 cssIndividualTransformPropertiesEnabled { false };
    bool cssInputSecurityEnabled { false };
    bool cssLeadingTrimEnabled { false };
    bool cssMotionPathEnabled { false };
    bool cssScrollAnchoringEnabled { false };
    bool cssTextAlignLastEnabled { false };
    bool cssTextJustifyEnabled { false };
    bool masonryEnabled { false };
    bool overscrollBehaviorEnabled { false };
    bool textAutosizingEnabled { false };
    bool webAnimationsCompositeOperationsEnabled { false };

    CSSPropertySettings() = default;
    explicit CSSPropertySettings(const Settings&);
};

bool operator==(const CSSPropertySettings&, const CSSPropertySettings&);
inline bool operator!=(const CSSPropertySettings& a, const CSSPropertySettings& b) { return !(a == b); }
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); }
        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);
}

} // 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

