// This file is automatically generated from CSSProperties.json by the makeprop.pl 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,
    CSSPropertyLightingColor = 139,
    CSSPropertyLineBreak = 140,
    CSSPropertyLineHeight = 141,
    CSSPropertyListStyleImage = 142,
    CSSPropertyListStylePosition = 143,
    CSSPropertyListStyleType = 144,
    CSSPropertyMarkerEnd = 145,
    CSSPropertyMarkerMid = 146,
    CSSPropertyMarkerStart = 147,
    CSSPropertyMaskImage = 148,
    CSSPropertyMaskOrigin = 149,
    CSSPropertyMaskRepeat = 150,
    CSSPropertyMaskSize = 151,
    CSSPropertyMaskType = 152,
    CSSPropertyMathStyle = 153,
    CSSPropertyMixBlendMode = 154,
    CSSPropertyNegative = 155,
    CSSPropertyObjectFit = 156,
    CSSPropertyObjectPosition = 157,
    CSSPropertyOffsetAnchor = 158,
    CSSPropertyOffsetDistance = 159,
    CSSPropertyOffsetPath = 160,
    CSSPropertyOffsetPosition = 161,
    CSSPropertyOffsetRotate = 162,
    CSSPropertyOpacity = 163,
    CSSPropertyOrder = 164,
    CSSPropertyOrphans = 165,
    CSSPropertyOutlineColor = 166,
    CSSPropertyOutlineOffset = 167,
    CSSPropertyOutlineStyle = 168,
    CSSPropertyOutlineWidth = 169,
    CSSPropertyOverflowAnchor = 170,
    CSSPropertyOverflowWrap = 171,
    CSSPropertyOverflowX = 172,
    CSSPropertyOverflowY = 173,
    CSSPropertyOverrideColors = 174,
    CSSPropertyPad = 175,
    CSSPropertyPage = 176,
    CSSPropertyPaintOrder = 177,
    CSSPropertyPerspective = 178,
    CSSPropertyPerspectiveOriginX = 179,
    CSSPropertyPerspectiveOriginY = 180,
    CSSPropertyPointerEvents = 181,
    CSSPropertyPosition = 182,
    CSSPropertyPrefix = 183,
    CSSPropertyPrintColorAdjust = 184,
    CSSPropertyQuotes = 185,
    CSSPropertyR = 186,
    CSSPropertyRange = 187,
    CSSPropertyResize = 188,
    CSSPropertyRotate = 189,
    CSSPropertyRowGap = 190,
    CSSPropertyRx = 191,
    CSSPropertyRy = 192,
    CSSPropertyScale = 193,
    CSSPropertyScrollBehavior = 194,
    CSSPropertyScrollSnapAlign = 195,
    CSSPropertyScrollSnapStop = 196,
    CSSPropertyScrollSnapType = 197,
    CSSPropertyShapeImageThreshold = 198,
    CSSPropertyShapeMargin = 199,
    CSSPropertyShapeOutside = 200,
    CSSPropertyShapeRendering = 201,
    CSSPropertySize = 202,
    CSSPropertySpeakAs = 203,
    CSSPropertySrc = 204,
    CSSPropertyStopColor = 205,
    CSSPropertyStopOpacity = 206,
    CSSPropertyStroke = 207,
    CSSPropertyStrokeColor = 208,
    CSSPropertyStrokeDasharray = 209,
    CSSPropertyStrokeDashoffset = 210,
    CSSPropertyStrokeLinecap = 211,
    CSSPropertyStrokeLinejoin = 212,
    CSSPropertyStrokeMiterlimit = 213,
    CSSPropertyStrokeOpacity = 214,
    CSSPropertyStrokeWidth = 215,
    CSSPropertySuffix = 216,
    CSSPropertySymbols = 217,
    CSSPropertySystem = 218,
    CSSPropertyTabSize = 219,
    CSSPropertyTableLayout = 220,
    CSSPropertyTextAlign = 221,
    CSSPropertyTextAlignLast = 222,
    CSSPropertyTextAnchor = 223,
    CSSPropertyTextDecorationColor = 224,
    CSSPropertyTextDecorationLine = 225,
    CSSPropertyTextDecorationSkipInk = 226,
    CSSPropertyTextDecorationStyle = 227,
    CSSPropertyTextDecorationThickness = 228,
    CSSPropertyTextEmphasisColor = 229,
    CSSPropertyTextEmphasisPosition = 230,
    CSSPropertyTextEmphasisStyle = 231,
    CSSPropertyTextIndent = 232,
    CSSPropertyTextJustify = 233,
    CSSPropertyTextOverflow = 234,
    CSSPropertyTextShadow = 235,
    CSSPropertyTextTransform = 236,
    CSSPropertyTextUnderlineOffset = 237,
    CSSPropertyTextUnderlinePosition = 238,
    CSSPropertyTouchAction = 239,
    CSSPropertyTransform = 240,
    CSSPropertyTransformBox = 241,
    CSSPropertyTransformOriginX = 242,
    CSSPropertyTransformOriginY = 243,
    CSSPropertyTransformOriginZ = 244,
    CSSPropertyTransformStyle = 245,
    CSSPropertyTransitionDelay = 246,
    CSSPropertyTransitionDuration = 247,
    CSSPropertyTransitionProperty = 248,
    CSSPropertyTransitionTimingFunction = 249,
    CSSPropertyTranslate = 250,
    CSSPropertyUnicodeBidi = 251,
    CSSPropertyUnicodeRange = 252,
    CSSPropertyVectorEffect = 253,
    CSSPropertyVerticalAlign = 254,
    CSSPropertyVisibility = 255,
    CSSPropertyWhiteSpace = 256,
    CSSPropertyWidows = 257,
    CSSPropertyWillChange = 258,
    CSSPropertyWordBreak = 259,
    CSSPropertyWordSpacing = 260,
    CSSPropertyX = 261,
    CSSPropertyY = 262,
    CSSPropertyZIndex = 263,
    CSSPropertyAppleColorFilter = 264,
    CSSPropertyApplePayButtonStyle = 265,
    CSSPropertyApplePayButtonType = 266,
    CSSPropertyInternalTextAutosizingStatus = 267,
    CSSPropertyWebkitBackdropFilter = 268,
    CSSPropertyWebkitBorderHorizontalSpacing = 269,
    CSSPropertyWebkitBorderVerticalSpacing = 270,
    CSSPropertyWebkitBoxAlign = 271,
    CSSPropertyWebkitBoxDecorationBreak = 272,
    CSSPropertyWebkitBoxDirection = 273,
    CSSPropertyWebkitBoxFlex = 274,
    CSSPropertyWebkitBoxFlexGroup = 275,
    CSSPropertyWebkitBoxLines = 276,
    CSSPropertyWebkitBoxOrdinalGroup = 277,
    CSSPropertyWebkitBoxOrient = 278,
    CSSPropertyWebkitBoxPack = 279,
    CSSPropertyWebkitBoxReflect = 280,
    CSSPropertyWebkitColumnAxis = 281,
    CSSPropertyWebkitColumnProgression = 282,
    CSSPropertyWebkitCursorVisibility = 283,
    CSSPropertyWebkitFontSizeDelta = 284,
    CSSPropertyWebkitHyphenateCharacter = 285,
    CSSPropertyWebkitHyphenateLimitAfter = 286,
    CSSPropertyWebkitHyphenateLimitBefore = 287,
    CSSPropertyWebkitHyphenateLimitLines = 288,
    CSSPropertyWebkitHyphens = 289,
    CSSPropertyWebkitInitialLetter = 290,
    CSSPropertyWebkitLineAlign = 291,
    CSSPropertyWebkitLineBoxContain = 292,
    CSSPropertyWebkitLineClamp = 293,
    CSSPropertyWebkitLineGrid = 294,
    CSSPropertyWebkitLineSnap = 295,
    CSSPropertyWebkitMarqueeDirection = 296,
    CSSPropertyWebkitMarqueeIncrement = 297,
    CSSPropertyWebkitMarqueeRepetition = 298,
    CSSPropertyWebkitMarqueeSpeed = 299,
    CSSPropertyWebkitMarqueeStyle = 300,
    CSSPropertyWebkitMaskBoxImage = 301,
    CSSPropertyWebkitMaskBoxImageOutset = 302,
    CSSPropertyWebkitMaskBoxImageRepeat = 303,
    CSSPropertyWebkitMaskBoxImageSlice = 304,
    CSSPropertyWebkitMaskBoxImageSource = 305,
    CSSPropertyWebkitMaskBoxImageWidth = 306,
    CSSPropertyWebkitMaskPositionX = 307,
    CSSPropertyWebkitMaskPositionY = 308,
    CSSPropertyWebkitNbspMode = 309,
    CSSPropertyWebkitRtlOrdering = 310,
    CSSPropertyWebkitTapHighlightColor = 311,
    CSSPropertyWebkitTextDecorationsInEffect = 312,
    CSSPropertyWebkitTextFillColor = 313,
    CSSPropertyWebkitTextSecurity = 314,
    CSSPropertyWebkitTextStrokeColor = 315,
    CSSPropertyWebkitTextStrokeWidth = 316,
    CSSPropertyWebkitUserDrag = 317,
    CSSPropertyWebkitUserModify = 318,
    CSSPropertyWebkitUserSelect = 319,
    CSSPropertyBackgroundClip = 320,
    CSSPropertyBackgroundOrigin = 321,
    CSSPropertyBlockSize = 322,
    CSSPropertyBorderBlockEndColor = 323,
    CSSPropertyBorderBlockEndStyle = 324,
    CSSPropertyBorderBlockEndWidth = 325,
    CSSPropertyBorderBlockStartColor = 326,
    CSSPropertyBorderBlockStartStyle = 327,
    CSSPropertyBorderBlockStartWidth = 328,
    CSSPropertyBorderBottomColor = 329,
    CSSPropertyBorderBottomLeftRadius = 330,
    CSSPropertyBorderBottomRightRadius = 331,
    CSSPropertyBorderBottomStyle = 332,
    CSSPropertyBorderBottomWidth = 333,
    CSSPropertyBorderEndEndRadius = 334,
    CSSPropertyBorderEndStartRadius = 335,
    CSSPropertyBorderInlineEndColor = 336,
    CSSPropertyBorderInlineEndStyle = 337,
    CSSPropertyBorderInlineEndWidth = 338,
    CSSPropertyBorderInlineStartColor = 339,
    CSSPropertyBorderInlineStartStyle = 340,
    CSSPropertyBorderInlineStartWidth = 341,
    CSSPropertyBorderLeftColor = 342,
    CSSPropertyBorderLeftStyle = 343,
    CSSPropertyBorderLeftWidth = 344,
    CSSPropertyBorderRightColor = 345,
    CSSPropertyBorderRightStyle = 346,
    CSSPropertyBorderRightWidth = 347,
    CSSPropertyBorderStartEndRadius = 348,
    CSSPropertyBorderStartStartRadius = 349,
    CSSPropertyBorderTopColor = 350,
    CSSPropertyBorderTopLeftRadius = 351,
    CSSPropertyBorderTopRightRadius = 352,
    CSSPropertyBorderTopStyle = 353,
    CSSPropertyBorderTopWidth = 354,
    CSSPropertyBottom = 355,
    CSSPropertyBoxShadow = 356,
    CSSPropertyContainIntrinsicBlockSize = 357,
    CSSPropertyContainIntrinsicHeight = 358,
    CSSPropertyContainIntrinsicInlineSize = 359,
    CSSPropertyContainIntrinsicWidth = 360,
    CSSPropertyHeight = 361,
    CSSPropertyInlineSize = 362,
    CSSPropertyInsetBlockEnd = 363,
    CSSPropertyInsetBlockStart = 364,
    CSSPropertyInsetInlineEnd = 365,
    CSSPropertyInsetInlineStart = 366,
    CSSPropertyLeft = 367,
    CSSPropertyMarginBlockEnd = 368,
    CSSPropertyMarginBlockStart = 369,
    CSSPropertyMarginBottom = 370,
    CSSPropertyMarginInlineEnd = 371,
    CSSPropertyMarginInlineStart = 372,
    CSSPropertyMarginLeft = 373,
    CSSPropertyMarginRight = 374,
    CSSPropertyMarginTop = 375,
    CSSPropertyMaskClip = 376,
    CSSPropertyMaskComposite = 377,
    CSSPropertyMaskMode = 378,
    CSSPropertyMaxBlockSize = 379,
    CSSPropertyMaxHeight = 380,
    CSSPropertyMaxInlineSize = 381,
    CSSPropertyMaxWidth = 382,
    CSSPropertyMinBlockSize = 383,
    CSSPropertyMinHeight = 384,
    CSSPropertyMinInlineSize = 385,
    CSSPropertyMinWidth = 386,
    CSSPropertyOverscrollBehaviorBlock = 387,
    CSSPropertyOverscrollBehaviorInline = 388,
    CSSPropertyOverscrollBehaviorX = 389,
    CSSPropertyOverscrollBehaviorY = 390,
    CSSPropertyPaddingBlockEnd = 391,
    CSSPropertyPaddingBlockStart = 392,
    CSSPropertyPaddingBottom = 393,
    CSSPropertyPaddingInlineEnd = 394,
    CSSPropertyPaddingInlineStart = 395,
    CSSPropertyPaddingLeft = 396,
    CSSPropertyPaddingRight = 397,
    CSSPropertyPaddingTop = 398,
    CSSPropertyRight = 399,
    CSSPropertyScrollMarginBlockEnd = 400,
    CSSPropertyScrollMarginBlockStart = 401,
    CSSPropertyScrollMarginBottom = 402,
    CSSPropertyScrollMarginInlineEnd = 403,
    CSSPropertyScrollMarginInlineStart = 404,
    CSSPropertyScrollMarginLeft = 405,
    CSSPropertyScrollMarginRight = 406,
    CSSPropertyScrollMarginTop = 407,
    CSSPropertyScrollPaddingBlockEnd = 408,
    CSSPropertyScrollPaddingBlockStart = 409,
    CSSPropertyScrollPaddingBottom = 410,
    CSSPropertyScrollPaddingInlineEnd = 411,
    CSSPropertyScrollPaddingInlineStart = 412,
    CSSPropertyScrollPaddingLeft = 413,
    CSSPropertyScrollPaddingRight = 414,
    CSSPropertyScrollPaddingTop = 415,
    CSSPropertyTextCombineUpright = 416,
    CSSPropertyTop = 417,
    CSSPropertyWidth = 418,
    CSSPropertyWebkitBackgroundClip = 419,
    CSSPropertyWebkitBackgroundOrigin = 420,
    CSSPropertyWebkitBoxShadow = 421,
    CSSPropertyWebkitMaskClip = 422,
    CSSPropertyWebkitMaskComposite = 423,
    CSSPropertyWebkitMaskSourceType = 424,
    CSSPropertyWebkitTextCombine = 425,
    CSSPropertyAll = 426,
    CSSPropertyAnimation = 427,
    CSSPropertyBackground = 428,
    CSSPropertyBackgroundPosition = 429,
    CSSPropertyBorder = 430,
    CSSPropertyBorderBlock = 431,
    CSSPropertyBorderBlockColor = 432,
    CSSPropertyBorderBlockEnd = 433,
    CSSPropertyBorderBlockStart = 434,
    CSSPropertyBorderBlockStyle = 435,
    CSSPropertyBorderBlockWidth = 436,
    CSSPropertyBorderBottom = 437,
    CSSPropertyBorderColor = 438,
    CSSPropertyBorderImage = 439,
    CSSPropertyBorderInline = 440,
    CSSPropertyBorderInlineColor = 441,
    CSSPropertyBorderInlineEnd = 442,
    CSSPropertyBorderInlineStart = 443,
    CSSPropertyBorderInlineStyle = 444,
    CSSPropertyBorderInlineWidth = 445,
    CSSPropertyBorderLeft = 446,
    CSSPropertyBorderRadius = 447,
    CSSPropertyBorderRight = 448,
    CSSPropertyBorderSpacing = 449,
    CSSPropertyBorderStyle = 450,
    CSSPropertyBorderTop = 451,
    CSSPropertyBorderWidth = 452,
    CSSPropertyColumnRule = 453,
    CSSPropertyColumns = 454,
    CSSPropertyContainIntrinsicSize = 455,
    CSSPropertyContainer = 456,
    CSSPropertyFlex = 457,
    CSSPropertyFlexFlow = 458,
    CSSPropertyFont = 459,
    CSSPropertyFontSynthesis = 460,
    CSSPropertyFontVariant = 461,
    CSSPropertyGap = 462,
    CSSPropertyGrid = 463,
    CSSPropertyGridArea = 464,
    CSSPropertyGridColumn = 465,
    CSSPropertyGridRow = 466,
    CSSPropertyGridTemplate = 467,
    CSSPropertyInset = 468,
    CSSPropertyInsetBlock = 469,
    CSSPropertyInsetInline = 470,
    CSSPropertyListStyle = 471,
    CSSPropertyMargin = 472,
    CSSPropertyMarginBlock = 473,
    CSSPropertyMarginInline = 474,
    CSSPropertyMarker = 475,
    CSSPropertyMask = 476,
    CSSPropertyMaskPosition = 477,
    CSSPropertyOffset = 478,
    CSSPropertyOutline = 479,
    CSSPropertyOverflow = 480,
    CSSPropertyOverscrollBehavior = 481,
    CSSPropertyPadding = 482,
    CSSPropertyPaddingBlock = 483,
    CSSPropertyPaddingInline = 484,
    CSSPropertyPageBreakAfter = 485,
    CSSPropertyPageBreakBefore = 486,
    CSSPropertyPageBreakInside = 487,
    CSSPropertyPerspectiveOrigin = 488,
    CSSPropertyPlaceContent = 489,
    CSSPropertyPlaceItems = 490,
    CSSPropertyPlaceSelf = 491,
    CSSPropertyScrollMargin = 492,
    CSSPropertyScrollMarginBlock = 493,
    CSSPropertyScrollMarginInline = 494,
    CSSPropertyScrollPadding = 495,
    CSSPropertyScrollPaddingBlock = 496,
    CSSPropertyScrollPaddingInline = 497,
    CSSPropertyTextDecoration = 498,
    CSSPropertyTextDecorationSkip = 499,
    CSSPropertyTextEmphasis = 500,
    CSSPropertyTransformOrigin = 501,
    CSSPropertyTransition = 502,
    CSSPropertyWebkitBackgroundSize = 503,
    CSSPropertyWebkitBorderImage = 504,
    CSSPropertyWebkitBorderRadius = 505,
    CSSPropertyWebkitColumnBreakAfter = 506,
    CSSPropertyWebkitColumnBreakBefore = 507,
    CSSPropertyWebkitColumnBreakInside = 508,
    CSSPropertyWebkitMask = 509,
    CSSPropertyWebkitMaskPosition = 510,
    CSSPropertyWebkitPerspective = 511,
    CSSPropertyWebkitTextDecoration = 512,
    CSSPropertyWebkitTextOrientation = 513,
    CSSPropertyWebkitTextStroke = 514,
};

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 513;
constexpr unsigned maxCSSPropertyNameLength = 34;
constexpr auto firstTopPriorityProperty = CSSPropertyColorScheme;
constexpr auto lastTopPriorityProperty = CSSPropertyWebkitRubyPosition;
constexpr auto firstHighPriorityProperty = CSSPropertyColor;
constexpr auto lastHighPriorityProperty = CSSPropertyLetterSpacing;
constexpr auto firstLowPriorityProperty = CSSPropertyAccentColor;
constexpr auto lastLowPriorityProperty = CSSPropertyWebkitUserSelect;
constexpr auto firstDeferredProperty = CSSPropertyBackgroundClip;
constexpr auto lastDeferredProperty = CSSPropertyWebkitTextCombine;
constexpr auto firstShorthandProperty = CSSPropertyAll;
constexpr auto lastShorthandProperty = CSSPropertyWebkitTextStroke;
constexpr uint16_t numCSSPropertyLonghands = firstShorthandProperty - firstCSSProperty;

extern const std::array<CSSPropertyID, 398> 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 cssMotionPathEnabled { false };
    bool cssScrollAnchoringEnabled { false };
    bool cssTextAlignLastEnabled { false };
    bool cssTextJustifyEnabled { 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 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; }
};
constexpr CSSPropertiesRange<static_cast<CSSPropertyID>(firstCSSProperty), lastShorthandProperty> allCSSProperties() { return { }; }
constexpr CSSPropertiesRange<static_cast<CSSPropertyID>(firstCSSProperty), lastDeferredProperty> 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

