Commit 891cdcc6 authored by Renee Wright's avatar Renee Wright Committed by Commit Bot

[Ribbon] Split existing CSSPropertyAPIs to accommodate CSSPropertyMetadata differences

First change for Ribbonizing CSSPropertyMetadata.

Splits up the existing CSSPropertyAPI groups based on different behavior for CSSPropertyMetadata methods IsInterpolableProperty, IsInheritedProperty, PropertySupportsPercentage, PropertyIsRepeated & RepititionSeparator. IsDescriptor, IsEnabledProperty and FilterEnabledCSSPropertiesIntoVector will be handled later.

CSSPropertyAPIs have been split as follows

- CSSPropertyAPIColor
    - CSSPropertyAPIColor
    - CSSPropertyAPIBackgroundColor
- CSSPropertyAPIColorNoQuirks
    - CSSPropertyAPIColorNoQuirksInherited
    - CSSPropertyAPIColorNoQuirksNonInherited
    - CSSPropertyAPIWekbitTextStrokeColor
    - CSSPropertyAPIWebkitBorderColor
- CSSPropertyAPIFragmentation
    - CSSPropertyAPIOrphansOrWidows
    - CSSPropertyAPIWebkitBoxOrdinalGroup
- CSSPropertyAPIImage
    - CSSPropertyAPIImageSource
    - CSSPropertyAPIListStyleImage
- CSSPropertyAPIMargin
    - CSSPropertyAPIMargin
    - CSSPropertyAPIOffset
- CSSPropertyAPIMarker
    - CSSPropertyAPIMarker
    - CSSPropertyAPIMask
- CSSPropertyAPIOpacity
    - CSSPropertyAPIOpacityInherited
    - CSSPropertyAPIOpacityNonInherited
- CSSPropertyAPIStrokeOrLength
    - CSSPropertyAPIStrokeDashoffsetOrStrokeWidth
    - CSSPropertyAPILength
- CSSPropertyAPITextDecorationLine
    - CSSPropertyAPITextDecorationLine
    - CSSPropertyAPIWebkitTextDecorationsInEffect
- CSSPropertyAPIWidthOrHeight
    - CSSPropertyAPIWidthOrHeight
    - CSSPropertyAPIMinWidthOrHeight
BUG=751373

Change-Id: I299b8b9051adae3dac74a2eb905916fbb906b7dc
Reviewed-on: https://chromium-review.googlesource.com/597369
Commit-Queue: Renée Wright <rjwright@chromium.org>
Reviewed-by: default avatarBugs Nash <bugsnash@chromium.org>
Reviewed-by: default avatarmeade_UTC10 <meade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491954}
parent afc8fa88
...@@ -487,6 +487,7 @@ code_generator("make_core_generated_css_property_apis") { ...@@ -487,6 +487,7 @@ code_generator("make_core_generated_css_property_apis") {
"$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundAttachment.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundAttachment.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundBlendMode.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundBlendMode.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundBox.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundBox.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundColor.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundOrMaskImage.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIBackgroundOrMaskImage.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIBaselineShift.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIBaselineShift.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIBorderColor.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIBorderColor.h",
...@@ -515,6 +516,7 @@ code_generator("make_core_generated_css_property_apis") { ...@@ -515,6 +516,7 @@ code_generator("make_core_generated_css_property_apis") {
"$blink_core_output_dir/css/properties/CSSPropertyAPID.h", "$blink_core_output_dir/css/properties/CSSPropertyAPID.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIDelay.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIDelay.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIDuration.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIDuration.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIFillOrStrokeOpacity.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIFilter.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIFilter.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIFlexBasis.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIFlexBasis.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIFlexGrowOrShrink.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIFlexGrowOrShrink.h",
...@@ -528,24 +530,28 @@ code_generator("make_core_generated_css_property_apis") { ...@@ -528,24 +530,28 @@ code_generator("make_core_generated_css_property_apis") {
"$blink_core_output_dir/css/properties/CSSPropertyAPIFontVariantNumeric.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIFontVariantNumeric.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIFontVariationSettings.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIFontVariationSettings.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIFontWeight.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIFontWeight.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIFragmentation.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIGridAutoFlow.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIGridAutoFlow.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIGridAutoLine.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIGridAutoLine.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIGridGap.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIGridGap.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIGridLine.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIGridLine.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIGridTemplateAreas.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIGridTemplateAreas.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIGridTemplateLine.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIGridTemplateLine.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIImage.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIImageSource.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIImageOrientation.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIImageOrientation.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIJustifyItems.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIJustifyItems.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPILength.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPILetterAndWordSpacing.h", "$blink_core_output_dir/css/properties/CSSPropertyAPILetterAndWordSpacing.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPILineHeight.h", "$blink_core_output_dir/css/properties/CSSPropertyAPILineHeight.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPILineHeightStep.h", "$blink_core_output_dir/css/properties/CSSPropertyAPILineHeightStep.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIListStyleImage.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPILogicalWidthOrHeight.h", "$blink_core_output_dir/css/properties/CSSPropertyAPILogicalWidthOrHeight.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIMargin.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIMargin.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIMarker.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIMarker.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIMask.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIMaskSourceType.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIMaskSourceType.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIMinWidthOrHeight.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIObjectPosition.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIObjectPosition.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOffset.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOffsetAnchor.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOffsetAnchor.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOffsetDistance.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOffsetDistance.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOffsetPath.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOffsetPath.h",
...@@ -553,6 +559,7 @@ code_generator("make_core_generated_css_property_apis") { ...@@ -553,6 +559,7 @@ code_generator("make_core_generated_css_property_apis") {
"$blink_core_output_dir/css/properties/CSSPropertyAPIOffsetRotate.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOffsetRotate.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOpacity.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOpacity.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOrder.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOrder.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOrphansOrWidows.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOutlineColor.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOutlineColor.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOutlineOffset.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOutlineOffset.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIOutlineWidth.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIOutlineWidth.h",
...@@ -575,8 +582,8 @@ code_generator("make_core_generated_css_property_apis") { ...@@ -575,8 +582,8 @@ code_generator("make_core_generated_css_property_apis") {
"$blink_core_output_dir/css/properties/CSSPropertyAPIShapeOutside.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIShapeOutside.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPISize.h", "$blink_core_output_dir/css/properties/CSSPropertyAPISize.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIStrokeDasharray.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIStrokeDasharray.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIStrokeDashoffsetOrStrokeWidth.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIStrokeMiterlimit.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIStrokeMiterlimit.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIStrokeOrLength.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPITabSize.h", "$blink_core_output_dir/css/properties/CSSPropertyAPITabSize.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPITextDecorationColor.h", "$blink_core_output_dir/css/properties/CSSPropertyAPITextDecorationColor.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPITextDecorationLine.h", "$blink_core_output_dir/css/properties/CSSPropertyAPITextDecorationLine.h",
...@@ -592,12 +599,15 @@ code_generator("make_core_generated_css_property_apis") { ...@@ -592,12 +599,15 @@ code_generator("make_core_generated_css_property_apis") {
"$blink_core_output_dir/css/properties/CSSPropertyAPITransitionProperty.h", "$blink_core_output_dir/css/properties/CSSPropertyAPITransitionProperty.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPITranslate.h", "$blink_core_output_dir/css/properties/CSSPropertyAPITranslate.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIVerticalAlign.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIVerticalAlign.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBorderColor.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBorderImage.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBorderImage.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBorderSpacing.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBorderSpacing.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBorderWidth.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBorderWidth.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBoxFlex.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBoxFlex.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBoxFlexGroup.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBoxFlexGroup.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBoxOrdinalGroup.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBoxReflect.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitBoxReflect.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitColorNoQuirks.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitFontSizeDelta.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitFontSizeDelta.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitHighlight.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitHighlight.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitLineClamp.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitLineClamp.h",
...@@ -608,7 +618,9 @@ code_generator("make_core_generated_css_property_apis") { ...@@ -608,7 +618,9 @@ code_generator("make_core_generated_css_property_apis") {
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitOriginX.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitOriginX.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitOriginY.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitOriginY.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitPadding.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitPadding.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitTextDecorationsInEffect.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitTextEmphasisStyle.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitTextEmphasisStyle.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitTextStrokeColor.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitTextStrokeWidth.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitTextStrokeWidth.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitTransformOriginZ.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWebkitTransformOriginZ.h",
"$blink_core_output_dir/css/properties/CSSPropertyAPIWidthOrHeight.h", "$blink_core_output_dir/css/properties/CSSPropertyAPIWidthOrHeight.h",
......
...@@ -384,6 +384,7 @@ blink_core_sources("css") { ...@@ -384,6 +384,7 @@ blink_core_sources("css") {
"properties/CSSPropertyAPIBackgroundAttachment.cpp", "properties/CSSPropertyAPIBackgroundAttachment.cpp",
"properties/CSSPropertyAPIBackgroundBlendMode.cpp", "properties/CSSPropertyAPIBackgroundBlendMode.cpp",
"properties/CSSPropertyAPIBackgroundBox.cpp", "properties/CSSPropertyAPIBackgroundBox.cpp",
"properties/CSSPropertyAPIBackgroundColor.cpp",
"properties/CSSPropertyAPIBackgroundOrMaskImage.cpp", "properties/CSSPropertyAPIBackgroundOrMaskImage.cpp",
"properties/CSSPropertyAPIBaselineShift.cpp", "properties/CSSPropertyAPIBaselineShift.cpp",
"properties/CSSPropertyAPIBorderColor.cpp", "properties/CSSPropertyAPIBorderColor.cpp",
...@@ -412,6 +413,7 @@ blink_core_sources("css") { ...@@ -412,6 +413,7 @@ blink_core_sources("css") {
"properties/CSSPropertyAPID.cpp", "properties/CSSPropertyAPID.cpp",
"properties/CSSPropertyAPIDelay.cpp", "properties/CSSPropertyAPIDelay.cpp",
"properties/CSSPropertyAPIDuration.cpp", "properties/CSSPropertyAPIDuration.cpp",
"properties/CSSPropertyAPIFillOrStrokeOpacity.cpp",
"properties/CSSPropertyAPIFilter.cpp", "properties/CSSPropertyAPIFilter.cpp",
"properties/CSSPropertyAPIFlexBasis.cpp", "properties/CSSPropertyAPIFlexBasis.cpp",
"properties/CSSPropertyAPIFlexGrowOrShrink.cpp", "properties/CSSPropertyAPIFlexGrowOrShrink.cpp",
...@@ -426,24 +428,28 @@ blink_core_sources("css") { ...@@ -426,24 +428,28 @@ blink_core_sources("css") {
"properties/CSSPropertyAPIFontVariantNumeric.cpp", "properties/CSSPropertyAPIFontVariantNumeric.cpp",
"properties/CSSPropertyAPIFontVariationSettings.cpp", "properties/CSSPropertyAPIFontVariationSettings.cpp",
"properties/CSSPropertyAPIFontWeight.cpp", "properties/CSSPropertyAPIFontWeight.cpp",
"properties/CSSPropertyAPIFragmentation.cpp",
"properties/CSSPropertyAPIGridAutoFlow.cpp", "properties/CSSPropertyAPIGridAutoFlow.cpp",
"properties/CSSPropertyAPIGridAutoLine.cpp", "properties/CSSPropertyAPIGridAutoLine.cpp",
"properties/CSSPropertyAPIGridGap.cpp", "properties/CSSPropertyAPIGridGap.cpp",
"properties/CSSPropertyAPIGridLine.cpp", "properties/CSSPropertyAPIGridLine.cpp",
"properties/CSSPropertyAPIGridTemplateAreas.cpp", "properties/CSSPropertyAPIGridTemplateAreas.cpp",
"properties/CSSPropertyAPIGridTemplateLine.cpp", "properties/CSSPropertyAPIGridTemplateLine.cpp",
"properties/CSSPropertyAPIImage.cpp",
"properties/CSSPropertyAPIImageOrientation.cpp", "properties/CSSPropertyAPIImageOrientation.cpp",
"properties/CSSPropertyAPIImageSource.cpp",
"properties/CSSPropertyAPIJustifyItems.cpp", "properties/CSSPropertyAPIJustifyItems.cpp",
"properties/CSSPropertyAPILength.cpp",
"properties/CSSPropertyAPILetterAndWordSpacing.cpp", "properties/CSSPropertyAPILetterAndWordSpacing.cpp",
"properties/CSSPropertyAPILineHeight.cpp", "properties/CSSPropertyAPILineHeight.cpp",
"properties/CSSPropertyAPILineHeightStep.cpp", "properties/CSSPropertyAPILineHeightStep.cpp",
"properties/CSSPropertyAPIListStyleImage.cpp",
"properties/CSSPropertyAPILogicalWidthOrHeight.cpp", "properties/CSSPropertyAPILogicalWidthOrHeight.cpp",
"properties/CSSPropertyAPIMargin.cpp", "properties/CSSPropertyAPIMargin.cpp",
"properties/CSSPropertyAPIMarker.cpp", "properties/CSSPropertyAPIMarker.cpp",
"properties/CSSPropertyAPIMask.cpp",
"properties/CSSPropertyAPIMaskSourceType.cpp", "properties/CSSPropertyAPIMaskSourceType.cpp",
"properties/CSSPropertyAPIMinWidthOrHeight.cpp",
"properties/CSSPropertyAPIObjectPosition.cpp", "properties/CSSPropertyAPIObjectPosition.cpp",
"properties/CSSPropertyAPIOffset.cpp",
"properties/CSSPropertyAPIOffsetAnchor.cpp", "properties/CSSPropertyAPIOffsetAnchor.cpp",
"properties/CSSPropertyAPIOffsetDistance.cpp", "properties/CSSPropertyAPIOffsetDistance.cpp",
"properties/CSSPropertyAPIOffsetPath.cpp", "properties/CSSPropertyAPIOffsetPath.cpp",
...@@ -451,6 +457,7 @@ blink_core_sources("css") { ...@@ -451,6 +457,7 @@ blink_core_sources("css") {
"properties/CSSPropertyAPIOffsetRotate.cpp", "properties/CSSPropertyAPIOffsetRotate.cpp",
"properties/CSSPropertyAPIOpacity.cpp", "properties/CSSPropertyAPIOpacity.cpp",
"properties/CSSPropertyAPIOrder.cpp", "properties/CSSPropertyAPIOrder.cpp",
"properties/CSSPropertyAPIOrphansOrWidows.cpp",
"properties/CSSPropertyAPIOutlineColor.cpp", "properties/CSSPropertyAPIOutlineColor.cpp",
"properties/CSSPropertyAPIOutlineOffset.cpp", "properties/CSSPropertyAPIOutlineOffset.cpp",
"properties/CSSPropertyAPIOutlineWidth.cpp", "properties/CSSPropertyAPIOutlineWidth.cpp",
...@@ -473,8 +480,8 @@ blink_core_sources("css") { ...@@ -473,8 +480,8 @@ blink_core_sources("css") {
"properties/CSSPropertyAPIShapeOutside.cpp", "properties/CSSPropertyAPIShapeOutside.cpp",
"properties/CSSPropertyAPISize.cpp", "properties/CSSPropertyAPISize.cpp",
"properties/CSSPropertyAPIStrokeDasharray.cpp", "properties/CSSPropertyAPIStrokeDasharray.cpp",
"properties/CSSPropertyAPIStrokeDashoffsetOrStrokeWidth.cpp",
"properties/CSSPropertyAPIStrokeMiterlimit.cpp", "properties/CSSPropertyAPIStrokeMiterlimit.cpp",
"properties/CSSPropertyAPIStrokeOrLength.cpp",
"properties/CSSPropertyAPITabSize.cpp", "properties/CSSPropertyAPITabSize.cpp",
"properties/CSSPropertyAPITextDecorationColor.cpp", "properties/CSSPropertyAPITextDecorationColor.cpp",
"properties/CSSPropertyAPITextDecorationLine.cpp", "properties/CSSPropertyAPITextDecorationLine.cpp",
...@@ -490,12 +497,15 @@ blink_core_sources("css") { ...@@ -490,12 +497,15 @@ blink_core_sources("css") {
"properties/CSSPropertyAPITransitionProperty.cpp", "properties/CSSPropertyAPITransitionProperty.cpp",
"properties/CSSPropertyAPITranslate.cpp", "properties/CSSPropertyAPITranslate.cpp",
"properties/CSSPropertyAPIVerticalAlign.cpp", "properties/CSSPropertyAPIVerticalAlign.cpp",
"properties/CSSPropertyAPIWebkitBorderColor.cpp",
"properties/CSSPropertyAPIWebkitBorderImage.cpp", "properties/CSSPropertyAPIWebkitBorderImage.cpp",
"properties/CSSPropertyAPIWebkitBorderSpacing.cpp", "properties/CSSPropertyAPIWebkitBorderSpacing.cpp",
"properties/CSSPropertyAPIWebkitBorderWidth.cpp", "properties/CSSPropertyAPIWebkitBorderWidth.cpp",
"properties/CSSPropertyAPIWebkitBoxFlex.cpp", "properties/CSSPropertyAPIWebkitBoxFlex.cpp",
"properties/CSSPropertyAPIWebkitBoxFlexGroup.cpp", "properties/CSSPropertyAPIWebkitBoxFlexGroup.cpp",
"properties/CSSPropertyAPIWebkitBoxOrdinalGroup.cpp",
"properties/CSSPropertyAPIWebkitBoxReflect.cpp", "properties/CSSPropertyAPIWebkitBoxReflect.cpp",
"properties/CSSPropertyAPIWebkitColorNoQuirks.cpp",
"properties/CSSPropertyAPIWebkitFontSizeDelta.cpp", "properties/CSSPropertyAPIWebkitFontSizeDelta.cpp",
"properties/CSSPropertyAPIWebkitHighlight.cpp", "properties/CSSPropertyAPIWebkitHighlight.cpp",
"properties/CSSPropertyAPIWebkitLineClamp.cpp", "properties/CSSPropertyAPIWebkitLineClamp.cpp",
...@@ -506,7 +516,9 @@ blink_core_sources("css") { ...@@ -506,7 +516,9 @@ blink_core_sources("css") {
"properties/CSSPropertyAPIWebkitOriginX.cpp", "properties/CSSPropertyAPIWebkitOriginX.cpp",
"properties/CSSPropertyAPIWebkitOriginY.cpp", "properties/CSSPropertyAPIWebkitOriginY.cpp",
"properties/CSSPropertyAPIWebkitPadding.cpp", "properties/CSSPropertyAPIWebkitPadding.cpp",
"properties/CSSPropertyAPIWebkitTextDecorationsInEffect.cpp",
"properties/CSSPropertyAPIWebkitTextEmphasisStyle.cpp", "properties/CSSPropertyAPIWebkitTextEmphasisStyle.cpp",
"properties/CSSPropertyAPIWebkitTextStrokeColor.cpp",
"properties/CSSPropertyAPIWebkitTextStrokeWidth.cpp", "properties/CSSPropertyAPIWebkitTextStrokeWidth.cpp",
"properties/CSSPropertyAPIWebkitTransformOriginZ.cpp", "properties/CSSPropertyAPIWebkitTransformOriginZ.cpp",
"properties/CSSPropertyAPIWidthOrHeight.cpp", "properties/CSSPropertyAPIWidthOrHeight.cpp",
......
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
// Other properties can depend upon high priority properties (e.g. font-size / ems) // Other properties can depend upon high priority properties (e.g. font-size / ems)
{ {
name: "color", name: "color",
api_class: "CSSPropertyAPIColor", api_class: true,
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
custom_all: true, custom_all: true,
inherited: true, inherited: true,
...@@ -716,7 +716,7 @@ ...@@ -716,7 +716,7 @@
}, },
{ {
name: "background-color", name: "background-color",
api_class: "CSSPropertyAPIColor", api_class: true,
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
custom_all: true, custom_all: true,
interpolable: true, interpolable: true,
...@@ -863,7 +863,7 @@ ...@@ -863,7 +863,7 @@
}, },
{ {
name: "border-image-source", name: "border-image-source",
api_class: "CSSPropertyAPIImage", api_class: "CSSPropertyAPIImageSource",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
custom_value: true, custom_value: true,
interpolable: true, interpolable: true,
...@@ -1008,7 +1008,7 @@ ...@@ -1008,7 +1008,7 @@
}, },
{ {
name: "bottom", name: "bottom",
api_class: "CSSPropertyAPIMargin", api_class: "CSSPropertyAPIOffset",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLengthOrAuto", converter: "ConvertLengthOrAuto",
interpolable: true, interpolable: true,
...@@ -1213,7 +1213,7 @@ ...@@ -1213,7 +1213,7 @@
}, },
{ {
name: "cx", name: "cx",
api_class: "CSSPropertyAPIStrokeOrLength", api_class: "CSSPropertyAPILength",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLength", converter: "ConvertLength",
interpolable: true, interpolable: true,
...@@ -1221,7 +1221,7 @@ ...@@ -1221,7 +1221,7 @@
}, },
{ {
name: "cy", name: "cy",
api_class: "CSSPropertyAPIStrokeOrLength", api_class: "CSSPropertyAPILength",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLength", converter: "ConvertLength",
interpolable: true, interpolable: true,
...@@ -1270,7 +1270,7 @@ ...@@ -1270,7 +1270,7 @@
}, },
{ {
name: "fill-opacity", name: "fill-opacity",
api_class: "CSSPropertyAPIOpacity", api_class: "CSSPropertyAPIFillOrStrokeOpacity",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertNumberOrPercentage", converter: "ConvertNumberOrPercentage",
inherited: true, inherited: true,
...@@ -1579,7 +1579,7 @@ ...@@ -1579,7 +1579,7 @@
}, },
{ {
name: "left", name: "left",
api_class: "CSSPropertyAPIMargin", api_class: "CSSPropertyAPIOffset",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLengthOrAuto", converter: "ConvertLengthOrAuto",
interpolable: true, interpolable: true,
...@@ -1634,7 +1634,7 @@ ...@@ -1634,7 +1634,7 @@
}, },
{ {
name: "list-style-image", name: "list-style-image",
api_class: "CSSPropertyAPIImage", api_class: true,
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
custom_value: true, custom_value: true,
inherited: true, inherited: true,
...@@ -1733,7 +1733,7 @@ ...@@ -1733,7 +1733,7 @@
}, },
{ {
name: "mask", name: "mask",
api_class: "CSSPropertyAPIMarker", api_class: true,
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertFragmentIdentifier", converter: "ConvertFragmentIdentifier",
name_for_methods: "MaskerResource", name_for_methods: "MaskerResource",
...@@ -1770,7 +1770,7 @@ ...@@ -1770,7 +1770,7 @@
}, },
{ {
name: "min-height", name: "min-height",
api_class: "CSSPropertyAPIWidthOrHeight", api_class: "CSSPropertyAPIMinWidthOrHeight",
converter: "ConvertLengthSizing", converter: "ConvertLengthSizing",
is_descriptor: true, is_descriptor: true,
interpolable: true, interpolable: true,
...@@ -1780,7 +1780,7 @@ ...@@ -1780,7 +1780,7 @@
}, },
{ {
name: "min-width", name: "min-width",
api_class: "CSSPropertyAPIWidthOrHeight", api_class: "CSSPropertyAPIMinWidthOrHeight",
converter: "ConvertLengthSizing", converter: "ConvertLengthSizing",
is_descriptor: true, is_descriptor: true,
interpolable: true, interpolable: true,
...@@ -1905,7 +1905,7 @@ ...@@ -1905,7 +1905,7 @@
}, },
{ {
name: "orphans", name: "orphans",
api_class: "CSSPropertyAPIFragmentation", api_class: "CSSPropertyAPIOrphansOrWidows",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
inherited: true, inherited: true,
interpolable: true, interpolable: true,
...@@ -2109,7 +2109,7 @@ ...@@ -2109,7 +2109,7 @@
}, },
{ {
name: "right", name: "right",
api_class: "CSSPropertyAPIMargin", api_class: "CSSPropertyAPIOffset",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLengthOrAuto", converter: "ConvertLengthOrAuto",
interpolable: true, interpolable: true,
...@@ -2121,7 +2121,7 @@ ...@@ -2121,7 +2121,7 @@
}, },
{ {
name: "r", name: "r",
api_class: "CSSPropertyAPIStrokeOrLength", api_class: "CSSPropertyAPILength",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLength", converter: "ConvertLength",
interpolable: true, interpolable: true,
...@@ -2471,7 +2471,7 @@ ...@@ -2471,7 +2471,7 @@
}, },
{ {
name: "stroke-dashoffset", name: "stroke-dashoffset",
api_class: "CSSPropertyAPIStrokeOrLength", api_class: "CSSPropertyAPIStrokeDashoffsetOrStrokeWidth",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLength", converter: "ConvertLength",
inherited: true, inherited: true,
...@@ -2505,7 +2505,7 @@ ...@@ -2505,7 +2505,7 @@
}, },
{ {
name: "stroke-opacity", name: "stroke-opacity",
api_class: "CSSPropertyAPIOpacity", api_class: "CSSPropertyAPIFillOrStrokeOpacity",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertNumberOrPercentage", converter: "ConvertNumberOrPercentage",
inherited: true, inherited: true,
...@@ -2514,7 +2514,7 @@ ...@@ -2514,7 +2514,7 @@
}, },
{ {
name: "stroke-width", name: "stroke-width",
api_class: "CSSPropertyAPIStrokeOrLength", api_class: "CSSPropertyAPIStrokeDashoffsetOrStrokeWidth",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertUnzoomedLength", converter: "ConvertUnzoomedLength",
inherited: true, inherited: true,
...@@ -2591,7 +2591,7 @@ ...@@ -2591,7 +2591,7 @@
}, },
{ {
name: "text-decoration-line", name: "text-decoration-line",
api_class: "CSSPropertyAPITextDecorationLine", api_class: true,
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertFlags<TextDecoration>", converter: "ConvertFlags<TextDecoration>",
name_for_methods: "TextDecoration", name_for_methods: "TextDecoration",
...@@ -2704,7 +2704,7 @@ ...@@ -2704,7 +2704,7 @@
}, },
{ {
name: "top", name: "top",
api_class: "CSSPropertyAPIMargin", api_class: "CSSPropertyAPIOffset",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLengthOrAuto", converter: "ConvertLengthOrAuto",
interpolable: true, interpolable: true,
...@@ -2845,7 +2845,7 @@ ...@@ -2845,7 +2845,7 @@
}, },
{ {
name: "x", name: "x",
api_class: "CSSPropertyAPIStrokeOrLength", api_class: "CSSPropertyAPILength",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLength", converter: "ConvertLength",
interpolable: true, interpolable: true,
...@@ -2853,7 +2853,7 @@ ...@@ -2853,7 +2853,7 @@
}, },
{ {
name: "y", name: "y",
api_class: "CSSPropertyAPIStrokeOrLength", api_class: "CSSPropertyAPILength",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertLength", converter: "ConvertLength",
interpolable: true, interpolable: true,
...@@ -2969,7 +2969,7 @@ ...@@ -2969,7 +2969,7 @@
}, },
{ {
name: "-webkit-box-ordinal-group", name: "-webkit-box-ordinal-group",
api_class: "CSSPropertyAPIFragmentation", api_class: true,
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
type_name: "unsigned", type_name: "unsigned",
field_template: "storage_only", field_template: "storage_only",
...@@ -3181,7 +3181,7 @@ ...@@ -3181,7 +3181,7 @@
}, },
{ {
name: "-webkit-mask-box-image-source", name: "-webkit-mask-box-image-source",
api_class: "CSSPropertyAPIImage", api_class: "CSSPropertyAPIImageSource",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
custom_value: true, custom_value: true,
interpolable: true, interpolable: true,
...@@ -3283,7 +3283,7 @@ ...@@ -3283,7 +3283,7 @@
}, },
{ {
name: "-webkit-tap-highlight-color", name: "-webkit-tap-highlight-color",
api_class: "CSSPropertyAPIColorNoQuirks", api_class: "CSSPropertyAPIWebkitColorNoQuirks",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
converter: "ConvertColor", converter: "ConvertColor",
inherited: true, inherited: true,
...@@ -3300,7 +3300,7 @@ ...@@ -3300,7 +3300,7 @@
}, },
{ {
name: "-webkit-text-emphasis-color", name: "-webkit-text-emphasis-color",
api_class: "CSSPropertyAPIColorNoQuirks", api_class: "CSSPropertyAPIWebkitColorNoQuirks",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
custom_all: true, custom_all: true,
inherited: true, inherited: true,
...@@ -3328,7 +3328,7 @@ ...@@ -3328,7 +3328,7 @@
}, },
{ {
name: "-webkit-text-fill-color", name: "-webkit-text-fill-color",
api_class: "CSSPropertyAPIColorNoQuirks", api_class: "CSSPropertyAPIWebkitColorNoQuirks",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
custom_all: true, custom_all: true,
inherited: true, inherited: true,
...@@ -3348,7 +3348,7 @@ ...@@ -3348,7 +3348,7 @@
}, },
{ {
name: "-webkit-text-stroke-color", name: "-webkit-text-stroke-color",
api_class: "CSSPropertyAPIColorNoQuirks", api_class: true,
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
custom_all: true, custom_all: true,
inherited: true, inherited: true,
...@@ -3424,7 +3424,7 @@ ...@@ -3424,7 +3424,7 @@
}, },
{ {
name: "widows", name: "widows",
api_class: "CSSPropertyAPIFragmentation", api_class: "CSSPropertyAPIOrphansOrWidows",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
inherited: true, inherited: true,
interpolable: true, interpolable: true,
...@@ -3530,7 +3530,7 @@ ...@@ -3530,7 +3530,7 @@
{ {
name: "-webkit-border-end-color", name: "-webkit-border-end-color",
api_class: "CSSPropertyAPIColorNoQuirks", api_class: "CSSPropertyAPIWebkitBorderColor",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
direction_aware: true, direction_aware: true,
}, },
...@@ -3546,7 +3546,7 @@ ...@@ -3546,7 +3546,7 @@
}, },
{ {
name: "-webkit-border-start-color", name: "-webkit-border-start-color",
api_class: "CSSPropertyAPIColorNoQuirks", api_class: "CSSPropertyAPIWebkitBorderColor",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
direction_aware: true, direction_aware: true,
}, },
...@@ -3562,7 +3562,7 @@ ...@@ -3562,7 +3562,7 @@
}, },
{ {
name: "-webkit-border-before-color", name: "-webkit-border-before-color",
api_class: "CSSPropertyAPIColorNoQuirks", api_class: "CSSPropertyAPIWebkitBorderColor",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
direction_aware: true, direction_aware: true,
}, },
...@@ -3578,7 +3578,7 @@ ...@@ -3578,7 +3578,7 @@
}, },
{ {
name: "-webkit-border-after-color", name: "-webkit-border-after-color",
api_class: "CSSPropertyAPIColorNoQuirks", api_class: "CSSPropertyAPIWebkitBorderColor",
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
direction_aware: true, direction_aware: true,
}, },
...@@ -3694,7 +3694,7 @@ ...@@ -3694,7 +3694,7 @@
}, },
{ {
name: "-webkit-text-decorations-in-effect", name: "-webkit-text-decorations-in-effect",
api_class: "CSSPropertyAPITextDecorationLine", api_class: true,
api_methods: ["parseSingleValue"], api_methods: ["parseSingleValue"],
builder_skip: true, builder_skip: true,
inherited: true, inherited: true,
......
// Copyright 2017 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/CSSPropertyAPIBackgroundColor.h"
#include "core/css/parser/CSSParserContext.h"
#include "core/css/parser/CSSParserMode.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
namespace blink {
const CSSValue* CSSPropertyAPIBackgroundColor::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
return CSSPropertyParserHelpers::ConsumeColor(
range, context.Mode(), IsQuirksModeBehavior(context.Mode()));
}
} // namespace blink
// Copyright 2017 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/CSSPropertyAPIFillOrStrokeOpacity.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
class CSSParserLocalContext;
namespace blink {
const CSSValue* CSSPropertyAPIFillOrStrokeOpacity::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
return CSSPropertyParserHelpers::ConsumeNumber(range, kValueRangeAll);
}
} // namespace blink
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "core/css/properties/CSSPropertyAPIImage.h" #include "core/css/properties/CSSPropertyAPIImageSource.h"
#include "core/css/parser/CSSPropertyParserHelpers.h" #include "core/css/parser/CSSPropertyParserHelpers.h"
class CSSParserLocalContext; class CSSParserLocalContext;
namespace blink { namespace blink {
const CSSValue* CSSPropertyAPIImage::parseSingleValue( const CSSValue* CSSPropertyAPIImageSource::parseSingleValue(
CSSParserTokenRange& range, CSSParserTokenRange& range,
const CSSParserContext& context, const CSSParserContext& context,
const CSSParserLocalContext&) { const CSSParserLocalContext&) {
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "core/css/properties/CSSPropertyAPIStrokeOrLength.h" #include "core/css/properties/CSSPropertyAPILength.h"
#include "core/css/parser/CSSPropertyParserHelpers.h" #include "core/css/parser/CSSPropertyParserHelpers.h"
namespace blink { namespace blink {
class CSSParserLocalContext; class CSSParserLocalContext;
const CSSValue* CSSPropertyAPIStrokeOrLength::parseSingleValue( const CSSValue* CSSPropertyAPILength::parseSingleValue(
CSSParserTokenRange& range, CSSParserTokenRange& range,
const CSSParserContext&, const CSSParserContext&,
const CSSParserLocalContext&) { const CSSParserLocalContext&) {
......
// Copyright 2017 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/CSSPropertyAPIListStyleImage.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
class CSSParserLocalContext;
namespace blink {
const CSSValue* CSSPropertyAPIListStyleImage::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
return CSSPropertyParserHelpers::ConsumeImageOrNone(range, &context);
}
} // namespace blink
// Copyright 2017 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/CSSPropertyAPIMask.h"
#include "core/css/CSSURIValue.h"
#include "core/css/parser/CSSParserTokenRange.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
namespace blink {
class CSSParserLocalContext;
const CSSValue* CSSPropertyAPIMask::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
if (range.Peek().Id() == CSSValueNone)
return CSSPropertyParserHelpers::ConsumeIdent(range);
return CSSPropertyParserHelpers::ConsumeUrl(range, &context);
}
} // namespace blink
// Copyright 2017 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/CSSPropertyAPIMinWidthOrHeight.h"
namespace blink {} // namespace blink
// Copyright 2017 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/CSSPropertyAPIOffset.h"
#include "core/css/parser/CSSParserContext.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
#include "core/css/properties/CSSPropertyMarginUtils.h"
class CSSParserLocalContext;
namespace blink {
const CSSValue* CSSPropertyAPIOffset::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
return CSSPropertyMarginUtils::ConsumeMarginOrOffset(
range, context.Mode(), CSSPropertyParserHelpers::UnitlessQuirk::kAllow);
}
} // namespace blink
// Copyright 2017 The Chromium Authors. All rights reserved. // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "core/css/properties/CSSPropertyAPIFragmentation.h" #include "core/css/properties/CSSPropertyAPIOrphansOrWidows.h"
#include "core/css/parser/CSSPropertyParserHelpers.h" #include "core/css/parser/CSSPropertyParserHelpers.h"
class CSSParserLocalContext; class CSSParserLocalContext;
namespace blink { namespace blink {
const CSSValue* CSSPropertyAPIFragmentation::parseSingleValue( const CSSValue* CSSPropertyAPIOrphansOrWidows::parseSingleValue(
CSSParserTokenRange& range, CSSParserTokenRange& range,
const CSSParserContext& context, const CSSParserContext& context,
const CSSParserLocalContext&) { const CSSParserLocalContext&) {
......
// Copyright 2017 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/CSSPropertyAPIStrokeDashoffsetOrStrokeWidth.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
namespace blink {
class CSSParserLocalContext;
const CSSValue* CSSPropertyAPIStrokeDashoffsetOrStrokeWidth::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext&,
const CSSParserLocalContext&) {
return CSSPropertyParserHelpers::ConsumeLengthOrPercent(
range, kSVGAttributeMode, kValueRangeAll,
CSSPropertyParserHelpers::UnitlessQuirk::kForbid);
}
} // namespace blink
// Copyright 2017 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/CSSPropertyAPIWebkitBorderColor.h"
#include "core/css/parser/CSSParserContext.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
class CSSParserLocalContext;
namespace blink {
const CSSValue* CSSPropertyAPIWebkitBorderColor::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
return CSSPropertyParserHelpers::ConsumeColor(range, context.Mode());
}
} // namespace blink
// Copyright 2017 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/CSSPropertyAPIWebkitBoxOrdinalGroup.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
class CSSParserLocalContext;
namespace blink {
const CSSValue* CSSPropertyAPIWebkitBoxOrdinalGroup::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
return CSSPropertyParserHelpers::ConsumePositiveInteger(range);
}
} // namespace blink
// Copyright 2017 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/CSSPropertyAPIWebkitColorNoQuirks.h"
#include "core/css/parser/CSSParserContext.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
class CSSParserLocalContext;
namespace blink {
const CSSValue* CSSPropertyAPIWebkitColorNoQuirks::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
return CSSPropertyParserHelpers::ConsumeColor(range, context.Mode());
}
} // namespace blink
// Copyright 2017 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/CSSPropertyAPIWebkitTextDecorationsInEffect.h"
#include "core/css/properties/CSSPropertyTextDecorationLineUtils.h"
namespace blink {
const CSSValue* CSSPropertyAPIWebkitTextDecorationsInEffect::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext&,
const CSSParserLocalContext&) {
return CSSPropertyTextDecorationLineUtils::ConsumeTextDecorationLine(range);
}
} // namespace blink
// Copyright 2017 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/CSSPropertyAPIWebkitTextStrokeColor.h"
#include "core/css/parser/CSSParserContext.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
class CSSParserLocalContext;
namespace blink {
const CSSValue* CSSPropertyAPIWebkitTextStrokeColor::parseSingleValue(
CSSParserTokenRange& range,
const CSSParserContext& context,
const CSSParserLocalContext&) {
return CSSPropertyParserHelpers::ConsumeColor(range, context.Mode());
}
} // namespace blink
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment