Skip to content

Instantly share code, notes, and snippets.

@jm318
Last active May 19, 2017 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jm318/8998e767a695314c7e1ee3e0c809d2d0 to your computer and use it in GitHub Desktop.
Save jm318/8998e767a695314c7e1ee3e0c809d2d0 to your computer and use it in GitHub Desktop.
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CSSPropertyAPIAnimationName_h
#define CSSPropertyAPIAnimationName_h
#include "core/CSSPropertyNames.h"
#include "core/css/properties/CSSPropertyAPI.h"
namespace blink {
class CSSParserTokenRange;
class CSSParserContext;
// CSSPropertyAPIAnimationName is the API that contains logic
// for handling the animation-name property.
// The methods defined here are standard among property APIs and can be
// accessed through a CSSPropertyDescriptor object.
//
// Status (5th May 2017): Eventually, all logic pertaining to the
// animation-name property will be contained within
// CSSPropertyAPIAnimationName. Currently, the code base is in a transitional
// state and property specific logic is still scattered around the code base.
class CSSPropertyAPIAnimationName : public CSSPropertyAPI {
public:
static const CSSValue* parseSingleValue(CSSParserTokenRange&, const CSSParserContext&, CSSPropertyID);
};
} // namespace blink
#endif // CSSPropertyAPIAnimationName_h
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/css/properties/CSSPropertyDescriptor.h"
#include "core/css/properties/CSSPropertyAPIAlignItems.h"
#include "core/css/properties/CSSPropertyAPIPage.h"
#include "core/css/properties/CSSPropertyAPITextDecorationSkip.h"
#include "core/css/properties/CSSPropertyAPIGridLine.h"
#include "core/css/properties/CSSPropertyAPIWebkitBoxFlexGroup.h"
#include "core/css/properties/CSSPropertyAPIOffsetPath.h"
#include "core/css/properties/CSSPropertyAPIScale.h"
#include "core/css/properties/CSSPropertyAPIAlignOrJustifySelf.h"
#include "core/css/properties/CSSPropertyAPIScrollSnapCoordinate.h"
#include "core/css/properties/CSSPropertyAPIWebkitMaxLogicalWidthOrHeight.h"
#include "core/css/properties/CSSPropertyAPIImageOrientation.h"
#include "core/css/properties/CSSPropertyAPILineHeight.h"
#include "core/css/properties/CSSPropertyAPIStrokeOrLength.h"
#include "core/css/properties/CSSPropertyAPIAnimationName.h"
#include "core/css/properties/CSSPropertyAPIColumnCount.h"
#include "core/css/properties/CSSPropertyAPIImage.h"
#include "core/css/properties/CSSPropertyAPIFilter.h"
#include "core/css/properties/CSSPropertyAPIWebkitMargin.h"
#include "core/css/properties/CSSPropertyAPIWebkitOriginX.h"
#include "core/css/properties/CSSPropertyAPIOutlineWidth.h"
#include "core/css/properties/CSSPropertyAPIClipPath.h"
#include "core/css/properties/CSSPropertyAPIMargin.h"
#include "core/css/properties/CSSPropertyAPIQuotes.h"
#include "core/css/properties/CSSPropertyAPIOrder.h"
#include "core/css/properties/CSSPropertyAPICaretColor.h"
#include "core/css/properties/CSSPropertyAPIOffsetRotate.h"
#include "core/css/properties/CSSPropertyAPIPaintStroke.h"
#include "core/css/properties/CSSPropertyAPIFontSize.h"
#include "core/css/properties/CSSPropertyAPIBorderWidth.h"
#include "core/css/properties/CSSPropertyAPIFontSizeAdjust.h"
#include "core/css/properties/CSSPropertyAPID.h"
#include "core/css/properties/CSSPropertyAPIWillChange.h"
#include "core/css/properties/CSSPropertyAPICounterReset.h"
#include "core/css/properties/CSSPropertyAPIClip.h"
#include "core/css/properties/CSSPropertyAPIWidthOrHeight.h"
#include "core/css/properties/CSSPropertyAPIWebkitBorderImage.h"
#include "core/css/properties/CSSPropertyAPIBorderImageOutset.h"
#include "core/css/properties/CSSPropertyAPIShapeImageThreshold.h"
#include "core/css/properties/CSSPropertyAPIWebkitOriginY.h"
#include "core/css/properties/CSSPropertyAPIShapeOutside.h"
#include "core/css/properties/CSSPropertyAPIOutlineColor.h"
#include "core/css/properties/CSSPropertyAPIStrokeMiterlimit.h"
#include "core/css/properties/CSSPropertyAPIBorderRadius.h"
#include "core/css/properties/CSSPropertyAPITextSizeAdjust.h"
#include "core/css/properties/CSSPropertyAPIContain.h"
#include "core/css/properties/CSSPropertyAPIWebkitTextEmphasisStyle.h"
#include "core/css/properties/CSSPropertyAPIWebkitTextStrokeWidth.h"
#include "core/css/properties/CSSPropertyAPILineHeightStep.h"
#include "core/css/properties/CSSPropertyAPISize.h"
#include "core/css/properties/CSSPropertyAPIColumnWidth.h"
#include "core/css/properties/CSSPropertyAPIContent.h"
#include "core/css/properties/CSSPropertyAPIWebkitPadding.h"
#include "core/css/properties/CSSPropertyAPIColumnGap.h"
#include "core/css/properties/CSSPropertyAPIFlexGrowOrShrink.h"
#include "core/css/properties/CSSPropertyAPIBorderImageRepeat.h"
#include "core/css/properties/CSSPropertyAPILetterAndWordSpacing.h"
#include "core/css/properties/CSSPropertyAPICursor.h"
#include "core/css/properties/CSSPropertyAPITranslate.h"
#include "core/css/properties/CSSPropertyAPIPaintOrder.h"
#include "core/css/properties/CSSPropertyAPIGridAutoFlow.h"
#include "core/css/properties/CSSPropertyAPIWebkitHighlight.h"
#include "core/css/properties/CSSPropertyAPIFlexBasis.h"
#include "core/css/properties/CSSPropertyAPIFontFamily.h"
#include "core/css/properties/CSSPropertyAPIAlignOrJustifyContent.h"
#include "core/css/properties/CSSPropertyAPITouchAction.h"
#include "core/css/properties/CSSPropertyAPIWebkitTransformOriginZ.h"
#include "core/css/properties/CSSPropertyAPIFontVariationSettings.h"
#include "core/css/properties/CSSPropertyAPIWebkitBorderWidth.h"
#include "core/css/properties/CSSPropertyAPIFontVariantCaps.h"
#include "core/css/properties/CSSPropertyAPIMarker.h"
#include "core/css/properties/CSSPropertyAPIOpacity.h"
#include "core/css/properties/CSSPropertyAPIBorderImageSlice.h"
#include "core/css/properties/CSSPropertyAPIWebkitLineClamp.h"
#include "core/css/properties/CSSPropertyAPIStrokeDasharray.h"
#include "core/css/properties/CSSPropertyAPIShapeMargin.h"
#include "core/css/properties/CSSPropertyAPIBorderImageWidth.h"
#include "core/css/properties/CSSPropertyAPIOutlineOffset.h"
#include "core/css/properties/CSSPropertyAPITextDecorationLine.h"
#include "core/css/properties/CSSPropertyAPIFontVariantNumeric.h"
#include "core/css/properties/CSSPropertyAPIGridTemplateLine.h"
#include "core/css/properties/CSSPropertyAPIWebkitBorderSpacing.h"
#include "core/css/properties/CSSPropertyAPIPadding.h"
#include "core/css/properties/CSSPropertyAPIZoom.h"
#include "core/css/properties/CSSPropertyAPIRadius.h"
#include "core/css/properties/CSSPropertyAPIOffsetAnchor.h"
#include "core/css/properties/CSSPropertyAPIOffsetDistance.h"
#include "core/css/properties/CSSPropertyAPIGridTemplateAreas.h"
#include "core/css/properties/CSSPropertyAPITextUnderlinePosition.h"
#include "core/css/properties/CSSPropertyAPIZIndex.h"
#include "core/css/properties/CSSPropertyAPIPerspective.h"
#include "core/css/properties/CSSPropertyAPIRotate.h"
#include "core/css/properties/CSSPropertyAPITextDecorationColor.h"
#include "core/css/properties/CSSPropertyAPIColor.h"
#include "core/css/properties/CSSPropertyAPITabSize.h"
#include "core/css/properties/CSSPropertyAPIJustifyItems.h"
#include "core/css/properties/CSSPropertyAPITransform.h"
#include "core/css/properties/CSSPropertyAPIWebkitMaskRepeat.h"
#include "core/css/properties/CSSPropertyAPIFragmentation.h"
#include "core/css/properties/CSSPropertyAPIWebkitFontSizeDelta.h"
#include "core/css/properties/CSSPropertyAPITextDecoration.h"
#include "core/css/properties/CSSPropertyAPIColumnRuleWidth.h"
#include "core/css/properties/CSSPropertyAPIFontVariantLigatures.h"
#include "core/css/properties/CSSPropertyAPIWebkitBoxFlex.h"
#include "core/css/properties/CSSPropertyAPIBaselineShift.h"
#include "core/css/properties/CSSPropertyAPIOffsetPosition.h"
#include "core/css/properties/CSSPropertyAPITextIndent.h"
#include "core/css/properties/CSSPropertyAPIVerticalAlign.h"
#include "core/css/properties/CSSPropertyAPIFontFeatureSettings.h"
#include "core/css/properties/CSSPropertyAPIGridAutoLine.h"
#include "core/css/properties/CSSPropertyAPITransformOrigin.h"
#include "core/css/properties/CSSPropertyAPIColumnSpan.h"
#include "core/css/properties/CSSPropertyAPIWebkitLogicalWidthOrHeight.h"
#include "core/css/properties/CSSPropertyAPICounterIncrement.h"
namespace blink {
static_assert(
std::is_pod<CSSPropertyDescriptor>::value,
"CSSPropertyDescriptor must be a POD to support using initializer lists.");
// This must refer to the invalid descriptor in cssPropertyDescriptors.
#define INVALID_DESCRIPTOR_INDEX 0
static constexpr CSSPropertyDescriptor cssPropertyDescriptors[] = {
// An invalid CSSPropertyDescriptor. Must be indexed by INVALID_DESCRIPTOR_INDEX.
{
nullptr,
nullptr,
},
// CSSPropertyDescriptors for all valid properties.
{
CSSPropertyAPIAlignItems::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIPage::parseSingleValue,
nullptr,
},
{
CSSPropertyAPITextDecorationSkip::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIWebkitBoxFlexGroup::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIOffsetPath::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIScale::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIAlignOrJustifySelf::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIScrollSnapCoordinate::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWebkitMaxLogicalWidthOrHeight::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIImageOrientation::parseSingleValue,
nullptr,
},
{
CSSPropertyAPILineHeight::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIAnimationName::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIColumnCount::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIImage::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIWebkitMargin::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIOutlineWidth::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIClipPath::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIMargin::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIQuotes::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIOrder::parseSingleValue,
nullptr,
},
{
CSSPropertyAPICaretColor::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIPaintStroke::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIFontSize::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIFontSizeAdjust::parseSingleValue,
nullptr,
},
{
CSSPropertyAPID::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWillChange::parseSingleValue,
nullptr,
},
{
CSSPropertyAPICounterReset::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIClip::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
nullptr,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIShapeImageThreshold::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIShapeOutside::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIOutlineColor::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIStrokeMiterlimit::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIBorderRadius::parseSingleValue,
nullptr,
},
{
CSSPropertyAPITextSizeAdjust::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIContain::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWebkitTextEmphasisStyle::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWebkitTextStrokeWidth::parseSingleValue,
nullptr,
},
{
CSSPropertyAPILineHeightStep::parseSingleValue,
nullptr,
},
{
CSSPropertyAPISize::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIColumnWidth::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIContent::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWebkitPadding::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIColumnGap::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPILetterAndWordSpacing::parseSingleValue,
nullptr,
},
{
CSSPropertyAPICursor::parseSingleValue,
nullptr,
},
{
CSSPropertyAPITranslate::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIPaintOrder::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIGridAutoFlow::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWebkitHighlight::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIFlexBasis::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIFontFamily::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIAlignOrJustifyContent::parseSingleValue,
nullptr,
},
{
CSSPropertyAPITouchAction::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWebkitTransformOriginZ::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIFontVariationSettings::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWebkitBorderWidth::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIFontVariantCaps::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIOpacity::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIWebkitLineClamp::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIStrokeDasharray::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIShapeMargin::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIOutlineOffset::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIFontVariantNumeric::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIWebkitBorderSpacing::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIPadding::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIZoom::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIRadius::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIOffsetAnchor::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPITextUnderlinePosition::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIZIndex::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIRotate::parseSingleValue,
nullptr,
},
{
CSSPropertyAPITextDecorationColor::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIColor::parseSingleValue,
nullptr,
},
{
CSSPropertyAPITabSize::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIJustifyItems::parseSingleValue,
nullptr,
},
{
CSSPropertyAPITransform::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIFragmentation::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIWebkitFontSizeDelta::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIColumnRuleWidth::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIFontVariantLigatures::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPIBaselineShift::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIOffsetPosition::parseSingleValue,
nullptr,
},
{
CSSPropertyAPITextIndent::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIVerticalAlign::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIFontFeatureSettings::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPITransformOrigin::parseSingleValue,
nullptr,
},
{
CSSPropertyAPIColumnSpan::parseSingleValue,
nullptr,
},
{
nullptr,
nullptr,
},
{
CSSPropertyAPICounterIncrement::parseSingleValue,
nullptr,
},
};
static_assert(cssPropertyDescriptors[INVALID_DESCRIPTOR_INDEX].parseSingleValue == nullptr,
"Invalid CSSPropertyDescriptor contains non-nullptr member");
static_assert(cssPropertyDescriptors[INVALID_DESCRIPTOR_INDEX].parseShorthand == nullptr,
"Invalid CSSPropertyDescriptor contains non-nullptr member");
// Lookup table mapping CSSPropertyID to index in the cssPropertyDescriptors
// table
static size_t CSSDescriptorIndices[] = {
0,
0,
0,
0,
0,
0,
0,
0,
14, // CSSPropertyAPIAnimationName
0,
0,
0,
0,
0,
0,
0,
0,
63, // CSSPropertyAPIFontFamily
108, // CSSPropertyAPIFontFeatureSettings
0,
28, // CSSPropertyAPIFontSize
30, // CSSPropertyAPIFontSizeAdjust
0,
0,
69, // CSSPropertyAPIFontVariantCaps
102, // CSSPropertyAPIFontVariantLigatures
79, // CSSPropertyAPIFontVariantNumeric
67, // CSSPropertyAPIFontVariationSettings
0,
0,
0,
0,
0,
0,
0,
0,
83, // CSSPropertyAPIZoom
64, // CSSPropertyAPIAlignOrJustifyContent
1, // CSSPropertyAPIAlignItems
8, // CSSPropertyAPIAlignOrJustifySelf
0,
0,
0,
17, // CSSPropertyAPIFilter
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
104, // CSSPropertyAPIBaselineShift
0,
0,
0,
0,
43, // CSSPropertyAPIBorderRadius
43, // CSSPropertyAPIBorderRadius
0,
29, // CSSPropertyAPIBorderWidth
0,
0,
0,
37, // CSSPropertyAPIBorderImageOutset
55, // CSSPropertyAPIBorderImageRepeat
72, // CSSPropertyAPIBorderImageSlice
16, // CSSPropertyAPIImage
76, // CSSPropertyAPIBorderImageWidth
0,
0,
0,
29, // CSSPropertyAPIBorderWidth
0,
0,
0,
0,
29, // CSSPropertyAPIBorderWidth
0,
0,
0,
0,
43, // CSSPropertyAPIBorderRadius
43, // CSSPropertyAPIBorderRadius
0,
29, // CSSPropertyAPIBorderWidth
0,
22, // CSSPropertyAPIMargin
0,
0,
0,
0,
0,
0,
0,
25, // CSSPropertyAPICaretColor
0,
34, // CSSPropertyAPIClip
21, // CSSPropertyAPIClipPath
0,
0,
0,
0,
15, // CSSPropertyAPIColumnCount
0,
53, // CSSPropertyAPIColumnGap
0,
93, // CSSPropertyAPIColor
0,
101, // CSSPropertyAPIColumnRuleWidth
111, // CSSPropertyAPIColumnSpan
50, // CSSPropertyAPIColumnWidth
0,
45, // CSSPropertyAPIContain
51, // CSSPropertyAPIContent
113, // CSSPropertyAPICounterIncrement
33, // CSSPropertyAPICounterReset
57, // CSSPropertyAPICursor
13, // CSSPropertyAPIStrokeOrLength
13, // CSSPropertyAPIStrokeOrLength
31, // CSSPropertyAPID
0,
0,
0,
27, // CSSPropertyAPIPaintStroke
71, // CSSPropertyAPIOpacity
0,
17, // CSSPropertyAPIFilter
0,
62, // CSSPropertyAPIFlexBasis
0,
0,
54, // CSSPropertyAPIFlexGrowOrShrink
54, // CSSPropertyAPIFlexGrowOrShrink
0,
0,
93, // CSSPropertyAPIColor
71, // CSSPropertyAPIOpacity
0,
0,
0,
0,
0,
109, // CSSPropertyAPIGridAutoLine
60, // CSSPropertyAPIGridAutoFlow
109, // CSSPropertyAPIGridAutoLine
0,
4, // CSSPropertyAPIGridLine
0,
4, // CSSPropertyAPIGridLine
0,
0,
4, // CSSPropertyAPIGridLine
0,
4, // CSSPropertyAPIGridLine
0,
87, // CSSPropertyAPIGridTemplateAreas
80, // CSSPropertyAPIGridTemplateLine
80, // CSSPropertyAPIGridTemplateLine
35, // CSSPropertyAPIWidthOrHeight
0,
11, // CSSPropertyAPIImageOrientation
0,
0,
0,
64, // CSSPropertyAPIAlignOrJustifyContent
95, // CSSPropertyAPIJustifyItems
8, // CSSPropertyAPIAlignOrJustifySelf
22, // CSSPropertyAPIMargin
56, // CSSPropertyAPILetterAndWordSpacing
93, // CSSPropertyAPIColor
12, // CSSPropertyAPILineHeight
48, // CSSPropertyAPILineHeightStep
0,
16, // CSSPropertyAPIImage
0,
0,
0,
22, // CSSPropertyAPIMargin
22, // CSSPropertyAPIMargin
22, // CSSPropertyAPIMargin
22, // CSSPropertyAPIMargin
0,
70, // CSSPropertyAPIMarker
70, // CSSPropertyAPIMarker
70, // CSSPropertyAPIMarker
70, // CSSPropertyAPIMarker
0,
0,
10, // CSSPropertyAPIWebkitMaxLogicalWidthOrHeight
0,
10, // CSSPropertyAPIWebkitMaxLogicalWidthOrHeight
0,
0,
0,
35, // CSSPropertyAPIWidthOrHeight
0,
35, // CSSPropertyAPIWidthOrHeight
0,
0,
0,
0,
0,
85, // CSSPropertyAPIOffsetAnchor
86, // CSSPropertyAPIOffsetDistance
6, // CSSPropertyAPIOffsetPath
105, // CSSPropertyAPIOffsetPosition
26, // CSSPropertyAPIOffsetRotate
71, // CSSPropertyAPIOpacity
24, // CSSPropertyAPIOrder
0,
98, // CSSPropertyAPIFragmentation
0,
41, // CSSPropertyAPIOutlineColor
77, // CSSPropertyAPIOutlineOffset
0,
20, // CSSPropertyAPIOutlineWidth
0,
0,
0,
0,
0,
0,
82, // CSSPropertyAPIPadding
82, // CSSPropertyAPIPadding
82, // CSSPropertyAPIPadding
82, // CSSPropertyAPIPadding
2, // CSSPropertyAPIPage
0,
0,
0,
59, // CSSPropertyAPIPaintOrder
90, // CSSPropertyAPIPerspective
0,
0,
0,
0,
0,
0,
23, // CSSPropertyAPIQuotes
13, // CSSPropertyAPIStrokeOrLength
0,
22, // CSSPropertyAPIMargin
91, // CSSPropertyAPIRotate
84, // CSSPropertyAPIRadius
84, // CSSPropertyAPIRadius
7, // CSSPropertyAPIScale
0,
9, // CSSPropertyAPIScrollSnapCoordinate
0,
0,
0,
0,
38, // CSSPropertyAPIShapeImageThreshold
75, // CSSPropertyAPIShapeMargin
40, // CSSPropertyAPIShapeOutside
0,
49, // CSSPropertyAPISize
0,
0,
93, // CSSPropertyAPIColor
71, // CSSPropertyAPIOpacity
27, // CSSPropertyAPIPaintStroke
74, // CSSPropertyAPIStrokeDasharray
13, // CSSPropertyAPIStrokeOrLength
0,
0,
42, // CSSPropertyAPIStrokeMiterlimit
71, // CSSPropertyAPIOpacity
13, // CSSPropertyAPIStrokeOrLength
94, // CSSPropertyAPITabSize
0,
0,
0,
0,
0,
100, // CSSPropertyAPITextDecoration
92, // CSSPropertyAPITextDecorationColor
78, // CSSPropertyAPITextDecorationLine
3, // CSSPropertyAPITextDecorationSkip
0,
106, // CSSPropertyAPITextIndent
0,
0,
0,
44, // CSSPropertyAPITextSizeAdjust
0,
88, // CSSPropertyAPITextUnderlinePosition
22, // CSSPropertyAPIMargin
65, // CSSPropertyAPITouchAction
96, // CSSPropertyAPITransform
0,
110, // CSSPropertyAPITransformOrigin
0,
0,
58, // CSSPropertyAPITranslate
0,
0,
0,
0,
0,
107, // CSSPropertyAPIVerticalAlign
0,
0,
0,
0,
0,
0,
93, // CSSPropertyAPIColor
0,
68, // CSSPropertyAPIWebkitBorderWidth
0,
93, // CSSPropertyAPIColor
0,
68, // CSSPropertyAPIWebkitBorderWidth
0,
93, // CSSPropertyAPIColor
0,
68, // CSSPropertyAPIWebkitBorderWidth
81, // CSSPropertyAPIWebkitBorderSpacing
36, // CSSPropertyAPIWebkitBorderImage
0,
93, // CSSPropertyAPIColor
0,
68, // CSSPropertyAPIWebkitBorderWidth
81, // CSSPropertyAPIWebkitBorderSpacing
0,
0,
0,
103, // CSSPropertyAPIWebkitBoxFlex
5, // CSSPropertyAPIWebkitBoxFlexGroup
0,
98, // CSSPropertyAPIFragmentation
0,
0,
0,
0,
0,
0,
99, // CSSPropertyAPIWebkitFontSizeDelta
61, // CSSPropertyAPIWebkitHighlight
0,
0,
73, // CSSPropertyAPIWebkitLineClamp
112, // CSSPropertyAPIWebkitLogicalWidthOrHeight
112, // CSSPropertyAPIWebkitLogicalWidthOrHeight
18, // CSSPropertyAPIWebkitMargin
0,
18, // CSSPropertyAPIWebkitMargin
0,
0,
0,
18, // CSSPropertyAPIWebkitMargin
18, // CSSPropertyAPIWebkitMargin
0,
0,
0,
37, // CSSPropertyAPIBorderImageOutset
55, // CSSPropertyAPIBorderImageRepeat
72, // CSSPropertyAPIBorderImageSlice
16, // CSSPropertyAPIImage
76, // CSSPropertyAPIBorderImageWidth
0,
0,
0,
0,
0,
0,
0,
0,
97, // CSSPropertyAPIWebkitMaskRepeat
97, // CSSPropertyAPIWebkitMaskRepeat
0,
10, // CSSPropertyAPIWebkitMaxLogicalWidthOrHeight
10, // CSSPropertyAPIWebkitMaxLogicalWidthOrHeight
112, // CSSPropertyAPIWebkitLogicalWidthOrHeight
112, // CSSPropertyAPIWebkitLogicalWidthOrHeight
52, // CSSPropertyAPIWebkitPadding
52, // CSSPropertyAPIWebkitPadding
52, // CSSPropertyAPIWebkitPadding
52, // CSSPropertyAPIWebkitPadding
19, // CSSPropertyAPIWebkitOriginX
39, // CSSPropertyAPIWebkitOriginY
0,
0,
0,
93, // CSSPropertyAPIColor
0,
78, // CSSPropertyAPITextDecorationLine
0,
93, // CSSPropertyAPIColor
0,
46, // CSSPropertyAPIWebkitTextEmphasisStyle
93, // CSSPropertyAPIColor
0,
0,
93, // CSSPropertyAPIColor
47, // CSSPropertyAPIWebkitTextStrokeWidth
19, // CSSPropertyAPIWebkitOriginX
39, // CSSPropertyAPIWebkitOriginY
66, // CSSPropertyAPIWebkitTransformOriginZ
0,
0,
0,
98, // CSSPropertyAPIFragmentation
35, // CSSPropertyAPIWidthOrHeight
32, // CSSPropertyAPIWillChange
0,
56, // CSSPropertyAPILetterAndWordSpacing
0,
13, // CSSPropertyAPIStrokeOrLength
13, // CSSPropertyAPIStrokeOrLength
89, // CSSPropertyAPIZIndex
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
};
const CSSPropertyDescriptor& CSSPropertyDescriptor::Get(CSSPropertyID id) {
return cssPropertyDescriptors[CSSDescriptorIndices[id]];
}
} // namespace blink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment