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

constexpr uint16_t firstCSSProperty = 2;
constexpr uint16_t numCSSProperties = 528;
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, 408> 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 cssIndividualTransformPropertiesEnabled { false };
    bool cssInputSecurityEnabled { false };
    bool cssLeadingTrimEnabled { false };
    bool cssMarginTrimEnabled { false };
    bool cssMotionPathEnabled { false };
    bool cssRhythmicSizingEnabled { false };
    bool cssScrollAnchoringEnabled { false };
    bool cssTextAlignLastEnabled { false };
    bool cssTextGroupAlignEnabled { false };
    bool cssTextJustifyEnabled { false };
    bool cssTextSpacingEnabled { false };
    bool cssTextWrapEnabled { 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);
}
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

