/* This file is automatically generated from CSSProperties.json by makeprop, do not edit */

#pragma once

#include <string.h>
#include <wtf/Forward.h>
#include <wtf/HashFunctions.h>
#include <wtf/HashTraits.h>

namespace WebCore {

enum CSSPropertyID : uint16_t {
    CSSPropertyInvalid = 0,
    CSSPropertyCustom = 1,
    CSSPropertyColor = 2,
    CSSPropertyDirection = 3,
    CSSPropertyDisplay = 4,
    CSSPropertyFontFamily = 5,
    CSSPropertyFontFeatureSettings = 6,
    CSSPropertyFontSize = 7,
    CSSPropertyFontStretch = 8,
    CSSPropertyFontStyle = 9,
    CSSPropertyFontSynthesis = 10,
    CSSPropertyFontVariantAlternates = 11,
    CSSPropertyFontVariantCaps = 12,
    CSSPropertyFontVariantEastAsian = 13,
    CSSPropertyFontVariantLigatures = 14,
    CSSPropertyFontVariantNumeric = 15,
    CSSPropertyFontVariantPosition = 16,
    CSSPropertyFontWeight = 17,
    CSSPropertyTextRendering = 18,
    CSSPropertyWritingMode = 19,
    CSSPropertyZoom = 20,
    CSSPropertyWebkitFontKerning = 21,
    CSSPropertyWebkitFontSmoothing = 22,
    CSSPropertyWebkitLocale = 23,
    CSSPropertyWebkitTextOrientation = 24,
    CSSPropertyWebkitTextZoom = 25,
    CSSPropertyAlignContent = 26,
    CSSPropertyAlignItems = 27,
    CSSPropertyAlignSelf = 28,
    CSSPropertyAlignmentBaseline = 29,
    CSSPropertyAll = 30,
    CSSPropertyAlt = 31,
    CSSPropertyAnimation = 32,
    CSSPropertyAnimationDelay = 33,
    CSSPropertyAnimationDirection = 34,
    CSSPropertyAnimationDuration = 35,
    CSSPropertyAnimationFillMode = 36,
    CSSPropertyAnimationIterationCount = 37,
    CSSPropertyAnimationName = 38,
    CSSPropertyAnimationPlayState = 39,
    CSSPropertyAnimationTimingFunction = 40,
    CSSPropertyBackground = 41,
    CSSPropertyBackgroundAttachment = 42,
    CSSPropertyBackgroundBlendMode = 43,
    CSSPropertyBackgroundClip = 44,
    CSSPropertyBackgroundColor = 45,
    CSSPropertyBackgroundImage = 46,
    CSSPropertyBackgroundOrigin = 47,
    CSSPropertyBackgroundPosition = 48,
    CSSPropertyBackgroundPositionX = 49,
    CSSPropertyBackgroundPositionY = 50,
    CSSPropertyBackgroundRepeat = 51,
    CSSPropertyBackgroundRepeatX = 52,
    CSSPropertyBackgroundRepeatY = 53,
    CSSPropertyBackgroundSize = 54,
    CSSPropertyBaselineShift = 55,
    CSSPropertyBlockSize = 56,
    CSSPropertyBorder = 57,
    CSSPropertyBorderBlock = 58,
    CSSPropertyBorderBlockColor = 59,
    CSSPropertyBorderBlockEnd = 60,
    CSSPropertyBorderBlockEndColor = 61,
    CSSPropertyBorderBlockEndStyle = 62,
    CSSPropertyBorderBlockEndWidth = 63,
    CSSPropertyBorderBlockStart = 64,
    CSSPropertyBorderBlockStartColor = 65,
    CSSPropertyBorderBlockStartStyle = 66,
    CSSPropertyBorderBlockStartWidth = 67,
    CSSPropertyBorderBlockStyle = 68,
    CSSPropertyBorderBlockWidth = 69,
    CSSPropertyBorderBottom = 70,
    CSSPropertyBorderBottomColor = 71,
    CSSPropertyBorderBottomLeftRadius = 72,
    CSSPropertyBorderBottomRightRadius = 73,
    CSSPropertyBorderBottomStyle = 74,
    CSSPropertyBorderBottomWidth = 75,
    CSSPropertyBorderCollapse = 76,
    CSSPropertyBorderColor = 77,
    CSSPropertyBorderImage = 78,
    CSSPropertyBorderImageOutset = 79,
    CSSPropertyBorderImageRepeat = 80,
    CSSPropertyBorderImageSlice = 81,
    CSSPropertyBorderImageSource = 82,
    CSSPropertyBorderImageWidth = 83,
    CSSPropertyBorderInline = 84,
    CSSPropertyBorderInlineColor = 85,
    CSSPropertyBorderInlineEnd = 86,
    CSSPropertyBorderInlineEndColor = 87,
    CSSPropertyBorderInlineEndStyle = 88,
    CSSPropertyBorderInlineEndWidth = 89,
    CSSPropertyBorderInlineStart = 90,
    CSSPropertyBorderInlineStartColor = 91,
    CSSPropertyBorderInlineStartStyle = 92,
    CSSPropertyBorderInlineStartWidth = 93,
    CSSPropertyBorderInlineStyle = 94,
    CSSPropertyBorderInlineWidth = 95,
    CSSPropertyBorderLeft = 96,
    CSSPropertyBorderLeftColor = 97,
    CSSPropertyBorderLeftStyle = 98,
    CSSPropertyBorderLeftWidth = 99,
    CSSPropertyBorderRadius = 100,
    CSSPropertyBorderRight = 101,
    CSSPropertyBorderRightColor = 102,
    CSSPropertyBorderRightStyle = 103,
    CSSPropertyBorderRightWidth = 104,
    CSSPropertyBorderSpacing = 105,
    CSSPropertyBorderStyle = 106,
    CSSPropertyBorderTop = 107,
    CSSPropertyBorderTopColor = 108,
    CSSPropertyBorderTopLeftRadius = 109,
    CSSPropertyBorderTopRightRadius = 110,
    CSSPropertyBorderTopStyle = 111,
    CSSPropertyBorderTopWidth = 112,
    CSSPropertyBorderWidth = 113,
    CSSPropertyBottom = 114,
    CSSPropertyBoxShadow = 115,
    CSSPropertyBoxSizing = 116,
    CSSPropertyBreakAfter = 117,
    CSSPropertyBreakBefore = 118,
    CSSPropertyBreakInside = 119,
    CSSPropertyBufferedRendering = 120,
    CSSPropertyCaptionSide = 121,
    CSSPropertyCaretColor = 122,
    CSSPropertyClear = 123,
    CSSPropertyClip = 124,
    CSSPropertyClipPath = 125,
    CSSPropertyClipRule = 126,
    CSSPropertyColorInterpolation = 127,
    CSSPropertyColorInterpolationFilters = 128,
    CSSPropertyColorProfile = 129,
    CSSPropertyColorRendering = 130,
    CSSPropertyColumnCount = 131,
    CSSPropertyColumnFill = 132,
    CSSPropertyColumnGap = 133,
    CSSPropertyColumnRule = 134,
    CSSPropertyColumnRuleColor = 135,
    CSSPropertyColumnRuleStyle = 136,
    CSSPropertyColumnRuleWidth = 137,
    CSSPropertyColumnSpan = 138,
    CSSPropertyColumnWidth = 139,
    CSSPropertyColumns = 140,
    CSSPropertyContent = 141,
    CSSPropertyCounterIncrement = 142,
    CSSPropertyCounterReset = 143,
    CSSPropertyCursor = 144,
    CSSPropertyCx = 145,
    CSSPropertyCy = 146,
    CSSPropertyDominantBaseline = 147,
    CSSPropertyEmptyCells = 148,
    CSSPropertyEnableBackground = 149,
    CSSPropertyFill = 150,
    CSSPropertyFillOpacity = 151,
    CSSPropertyFillRule = 152,
    CSSPropertyFilter = 153,
    CSSPropertyFlex = 154,
    CSSPropertyFlexBasis = 155,
    CSSPropertyFlexDirection = 156,
    CSSPropertyFlexFlow = 157,
    CSSPropertyFlexGrow = 158,
    CSSPropertyFlexShrink = 159,
    CSSPropertyFlexWrap = 160,
    CSSPropertyFloat = 161,
    CSSPropertyFloodColor = 162,
    CSSPropertyFloodOpacity = 163,
    CSSPropertyFont = 164,
    CSSPropertyFontDisplay = 165,
    CSSPropertyFontVariant = 166,
    CSSPropertyGap = 167,
    CSSPropertyGlyphOrientationHorizontal = 168,
    CSSPropertyGlyphOrientationVertical = 169,
    CSSPropertyGrid = 170,
    CSSPropertyGridArea = 171,
    CSSPropertyGridAutoColumns = 172,
    CSSPropertyGridAutoFlow = 173,
    CSSPropertyGridAutoRows = 174,
    CSSPropertyGridColumn = 175,
    CSSPropertyGridColumnEnd = 176,
    CSSPropertyGridColumnStart = 177,
    CSSPropertyGridRow = 178,
    CSSPropertyGridRowEnd = 179,
    CSSPropertyGridRowStart = 180,
    CSSPropertyGridTemplate = 181,
    CSSPropertyGridTemplateAreas = 182,
    CSSPropertyGridTemplateColumns = 183,
    CSSPropertyGridTemplateRows = 184,
    CSSPropertyHangingPunctuation = 185,
    CSSPropertyHeight = 186,
    CSSPropertyImageRendering = 187,
    CSSPropertyInlineSize = 188,
    CSSPropertyInset = 189,
    CSSPropertyInsetBlock = 190,
    CSSPropertyInsetBlockEnd = 191,
    CSSPropertyInsetBlockStart = 192,
    CSSPropertyInsetInline = 193,
    CSSPropertyInsetInlineEnd = 194,
    CSSPropertyInsetInlineStart = 195,
    CSSPropertyIsolation = 196,
    CSSPropertyJustifyContent = 197,
    CSSPropertyJustifyItems = 198,
    CSSPropertyJustifySelf = 199,
    CSSPropertyKerning = 200,
    CSSPropertyLeft = 201,
    CSSPropertyLetterSpacing = 202,
    CSSPropertyLightingColor = 203,
    CSSPropertyLineBreak = 204,
    CSSPropertyLineHeight = 205,
    CSSPropertyListStyle = 206,
    CSSPropertyListStyleImage = 207,
    CSSPropertyListStylePosition = 208,
    CSSPropertyListStyleType = 209,
    CSSPropertyMargin = 210,
    CSSPropertyMarginBlock = 211,
    CSSPropertyMarginBlockEnd = 212,
    CSSPropertyMarginBlockStart = 213,
    CSSPropertyMarginBottom = 214,
    CSSPropertyMarginInline = 215,
    CSSPropertyMarginInlineEnd = 216,
    CSSPropertyMarginInlineStart = 217,
    CSSPropertyMarginLeft = 218,
    CSSPropertyMarginRight = 219,
    CSSPropertyMarginTop = 220,
    CSSPropertyMarker = 221,
    CSSPropertyMarkerEnd = 222,
    CSSPropertyMarkerMid = 223,
    CSSPropertyMarkerStart = 224,
    CSSPropertyMask = 225,
    CSSPropertyMaskType = 226,
    CSSPropertyMaxBlockSize = 227,
    CSSPropertyMaxHeight = 228,
    CSSPropertyMaxInlineSize = 229,
    CSSPropertyMaxWidth = 230,
    CSSPropertyMinBlockSize = 231,
    CSSPropertyMinHeight = 232,
    CSSPropertyMinInlineSize = 233,
    CSSPropertyMinWidth = 234,
    CSSPropertyMixBlendMode = 235,
    CSSPropertyObjectFit = 236,
    CSSPropertyObjectPosition = 237,
    CSSPropertyOpacity = 238,
    CSSPropertyOrder = 239,
    CSSPropertyOrphans = 240,
    CSSPropertyOutline = 241,
    CSSPropertyOutlineColor = 242,
    CSSPropertyOutlineOffset = 243,
    CSSPropertyOutlineStyle = 244,
    CSSPropertyOutlineWidth = 245,
    CSSPropertyOverflow = 246,
    CSSPropertyOverflowWrap = 247,
    CSSPropertyOverflowX = 248,
    CSSPropertyOverflowY = 249,
    CSSPropertyPadding = 250,
    CSSPropertyPaddingBlock = 251,
    CSSPropertyPaddingBlockEnd = 252,
    CSSPropertyPaddingBlockStart = 253,
    CSSPropertyPaddingBottom = 254,
    CSSPropertyPaddingInline = 255,
    CSSPropertyPaddingInlineEnd = 256,
    CSSPropertyPaddingInlineStart = 257,
    CSSPropertyPaddingLeft = 258,
    CSSPropertyPaddingRight = 259,
    CSSPropertyPaddingTop = 260,
    CSSPropertyPage = 261,
    CSSPropertyPageBreakAfter = 262,
    CSSPropertyPageBreakBefore = 263,
    CSSPropertyPageBreakInside = 264,
    CSSPropertyPaintOrder = 265,
    CSSPropertyPerspective = 266,
    CSSPropertyPerspectiveOrigin = 267,
    CSSPropertyPerspectiveOriginX = 268,
    CSSPropertyPerspectiveOriginY = 269,
    CSSPropertyPlaceContent = 270,
    CSSPropertyPlaceItems = 271,
    CSSPropertyPlaceSelf = 272,
    CSSPropertyPointerEvents = 273,
    CSSPropertyPosition = 274,
    CSSPropertyQuotes = 275,
    CSSPropertyR = 276,
    CSSPropertyResize = 277,
    CSSPropertyRight = 278,
    CSSPropertyRowGap = 279,
    CSSPropertyRx = 280,
    CSSPropertyRy = 281,
    CSSPropertyShapeImageThreshold = 282,
    CSSPropertyShapeMargin = 283,
    CSSPropertyShapeOutside = 284,
    CSSPropertyShapeRendering = 285,
    CSSPropertySize = 286,
    CSSPropertySpeakAs = 287,
    CSSPropertySrc = 288,
    CSSPropertyStopColor = 289,
    CSSPropertyStopOpacity = 290,
    CSSPropertyStroke = 291,
    CSSPropertyStrokeColor = 292,
    CSSPropertyStrokeDasharray = 293,
    CSSPropertyStrokeDashoffset = 294,
    CSSPropertyStrokeLinecap = 295,
    CSSPropertyStrokeLinejoin = 296,
    CSSPropertyStrokeMiterlimit = 297,
    CSSPropertyStrokeOpacity = 298,
    CSSPropertyStrokeWidth = 299,
    CSSPropertyTabSize = 300,
    CSSPropertyTableLayout = 301,
    CSSPropertyTextAlign = 302,
    CSSPropertyTextAnchor = 303,
    CSSPropertyTextDecoration = 304,
    CSSPropertyTextDecorationColor = 305,
    CSSPropertyTextDecorationLine = 306,
    CSSPropertyTextDecorationSkip = 307,
    CSSPropertyTextDecorationStyle = 308,
    CSSPropertyTextDecorationThickness = 309,
    CSSPropertyTextIndent = 310,
    CSSPropertyTextOverflow = 311,
    CSSPropertyTextShadow = 312,
    CSSPropertyTextTransform = 313,
    CSSPropertyTextUnderlineOffset = 314,
    CSSPropertyTextUnderlinePosition = 315,
    CSSPropertyTop = 316,
    CSSPropertyTransform = 317,
    CSSPropertyTransformBox = 318,
    CSSPropertyTransformOrigin = 319,
    CSSPropertyTransformOriginX = 320,
    CSSPropertyTransformOriginY = 321,
    CSSPropertyTransformOriginZ = 322,
    CSSPropertyTransformStyle = 323,
    CSSPropertyTransition = 324,
    CSSPropertyTransitionDelay = 325,
    CSSPropertyTransitionDuration = 326,
    CSSPropertyTransitionProperty = 327,
    CSSPropertyTransitionTimingFunction = 328,
    CSSPropertyUnicodeBidi = 329,
    CSSPropertyUnicodeRange = 330,
    CSSPropertyVectorEffect = 331,
    CSSPropertyVerticalAlign = 332,
    CSSPropertyVisibility = 333,
    CSSPropertyWhiteSpace = 334,
    CSSPropertyWidows = 335,
    CSSPropertyWidth = 336,
    CSSPropertyWillChange = 337,
    CSSPropertyWordBreak = 338,
    CSSPropertyWordSpacing = 339,
    CSSPropertyWordWrap = 340,
    CSSPropertyX = 341,
    CSSPropertyY = 342,
    CSSPropertyZIndex = 343,
    CSSPropertyAppleColorFilter = 344,
    CSSPropertyWebkitAppearance = 345,
    CSSPropertyWebkitAspectRatio = 346,
    CSSPropertyWebkitBackfaceVisibility = 347,
    CSSPropertyWebkitBackgroundClip = 348,
    CSSPropertyWebkitBackgroundComposite = 349,
    CSSPropertyWebkitBackgroundOrigin = 350,
    CSSPropertyWebkitBackgroundSize = 351,
    CSSPropertyWebkitBorderFit = 352,
    CSSPropertyWebkitBorderHorizontalSpacing = 353,
    CSSPropertyWebkitBorderImage = 354,
    CSSPropertyWebkitBorderRadius = 355,
    CSSPropertyWebkitBorderVerticalSpacing = 356,
    CSSPropertyWebkitBoxAlign = 357,
    CSSPropertyWebkitBoxDecorationBreak = 358,
    CSSPropertyWebkitBoxDirection = 359,
    CSSPropertyWebkitBoxFlex = 360,
    CSSPropertyWebkitBoxFlexGroup = 361,
    CSSPropertyWebkitBoxLines = 362,
    CSSPropertyWebkitBoxOrdinalGroup = 363,
    CSSPropertyWebkitBoxOrient = 364,
    CSSPropertyWebkitBoxPack = 365,
    CSSPropertyWebkitBoxReflect = 366,
    CSSPropertyWebkitBoxShadow = 367,
    CSSPropertyWebkitClipPath = 368,
    CSSPropertyWebkitColumnAxis = 369,
    CSSPropertyWebkitColumnBreakAfter = 370,
    CSSPropertyWebkitColumnBreakBefore = 371,
    CSSPropertyWebkitColumnBreakInside = 372,
    CSSPropertyWebkitColumnProgression = 373,
    CSSPropertyWebkitCursorVisibility = 374,
    CSSPropertyWebkitFontSizeDelta = 375,
    CSSPropertyWebkitHyphenateCharacter = 376,
    CSSPropertyWebkitHyphenateLimitAfter = 377,
    CSSPropertyWebkitHyphenateLimitBefore = 378,
    CSSPropertyWebkitHyphenateLimitLines = 379,
    CSSPropertyWebkitHyphens = 380,
    CSSPropertyWebkitInitialLetter = 381,
    CSSPropertyWebkitLineAlign = 382,
    CSSPropertyWebkitLineBoxContain = 383,
    CSSPropertyWebkitLineClamp = 384,
    CSSPropertyWebkitLineGrid = 385,
    CSSPropertyWebkitLineSnap = 386,
    CSSPropertyWebkitMarginAfterCollapse = 387,
    CSSPropertyWebkitMarginBeforeCollapse = 388,
    CSSPropertyWebkitMarginBottomCollapse = 389,
    CSSPropertyWebkitMarginCollapse = 390,
    CSSPropertyWebkitMarginTopCollapse = 391,
    CSSPropertyWebkitMarquee = 392,
    CSSPropertyWebkitMarqueeDirection = 393,
    CSSPropertyWebkitMarqueeIncrement = 394,
    CSSPropertyWebkitMarqueeRepetition = 395,
    CSSPropertyWebkitMarqueeSpeed = 396,
    CSSPropertyWebkitMarqueeStyle = 397,
    CSSPropertyWebkitMask = 398,
    CSSPropertyWebkitMaskBoxImage = 399,
    CSSPropertyWebkitMaskBoxImageOutset = 400,
    CSSPropertyWebkitMaskBoxImageRepeat = 401,
    CSSPropertyWebkitMaskBoxImageSlice = 402,
    CSSPropertyWebkitMaskBoxImageSource = 403,
    CSSPropertyWebkitMaskBoxImageWidth = 404,
    CSSPropertyWebkitMaskClip = 405,
    CSSPropertyWebkitMaskComposite = 406,
    CSSPropertyWebkitMaskImage = 407,
    CSSPropertyWebkitMaskOrigin = 408,
    CSSPropertyWebkitMaskPosition = 409,
    CSSPropertyWebkitMaskPositionX = 410,
    CSSPropertyWebkitMaskPositionY = 411,
    CSSPropertyWebkitMaskRepeat = 412,
    CSSPropertyWebkitMaskRepeatX = 413,
    CSSPropertyWebkitMaskRepeatY = 414,
    CSSPropertyWebkitMaskSize = 415,
    CSSPropertyWebkitMaskSourceType = 416,
    CSSPropertyWebkitNbspMode = 417,
    CSSPropertyWebkitPrintColorAdjust = 418,
    CSSPropertyWebkitRtlOrdering = 419,
    CSSPropertyWebkitRubyPosition = 420,
    CSSPropertyWebkitTextCombine = 421,
    CSSPropertyWebkitTextDecoration = 422,
    CSSPropertyWebkitTextDecorationsInEffect = 423,
    CSSPropertyWebkitTextEmphasis = 424,
    CSSPropertyWebkitTextEmphasisColor = 425,
    CSSPropertyWebkitTextEmphasisPosition = 426,
    CSSPropertyWebkitTextEmphasisStyle = 427,
    CSSPropertyWebkitTextFillColor = 428,
    CSSPropertyWebkitTextSecurity = 429,
    CSSPropertyWebkitTextStroke = 430,
    CSSPropertyWebkitTextStrokeColor = 431,
    CSSPropertyWebkitTextStrokeWidth = 432,
    CSSPropertyWebkitTransformStyle = 433,
    CSSPropertyWebkitUserDrag = 434,
    CSSPropertyWebkitUserModify = 435,
    CSSPropertyWebkitUserSelect = 436,
};

const int firstCSSProperty = 2;
const int numCSSProperties = 435;
const int lastCSSProperty = 436;
const size_t maxCSSPropertyNameLength = 34;
const CSSPropertyID lastHighPriorityProperty = CSSPropertyWebkitTextZoom;

bool isInternalCSSProperty(const CSSPropertyID);
bool isEnabledCSSProperty(const CSSPropertyID);
const char* getPropertyName(CSSPropertyID);
const WTF::AtomString& getPropertyNameAtomString(CSSPropertyID id);
WTF::String getPropertyNameString(CSSPropertyID id);
WTF::String getJSPropertyName(CSSPropertyID);

inline CSSPropertyID convertToCSSPropertyID(int value)
{
    ASSERT((value >= firstCSSProperty && value <= lastCSSProperty) || value == CSSPropertyInvalid || value == CSSPropertyCustom);
    return static_cast<CSSPropertyID>(value);
}

} // namespace WebCore

namespace WTF {
template<> struct DefaultHash<WebCore::CSSPropertyID> { typedef IntHash<unsigned> Hash; };
template<> struct HashTraits<WebCore::CSSPropertyID> : GenericHashTraits<WebCore::CSSPropertyID> {
    static const bool emptyValueIsZero = true;
    static void constructDeletedValue(WebCore::CSSPropertyID& slot) { slot = static_cast<WebCore::CSSPropertyID>(WebCore::lastCSSProperty + 1); }
    static bool isDeletedValue(WebCore::CSSPropertyID value) { return value == (WebCore::lastCSSProperty + 1); }
};
} // namespace WTF

