Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Issue 2808383008: Added unresolved property argument to ParseSingleValue method (Closed)

Created:
3 years, 8 months ago by Bugs Nash
Modified:
3 years, 8 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, jfernandez, Manuel Rego, rwlbuis, svillar
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Added unresolved property argument to ParseSingleValue method Added CSSPropertyID argument to ParseSingleValue method so that unresolved property can be passed. This is required for some aliases that have different parsing logic, e.g. CSSPropertyAnimationName and CSSPropertyAliasWebkitAnimationName. Note that none of the existing implementations of ParseSingleValue use the new CSSPropertyID argument that is passed to them, but future implementations of this method in properties with different parsing logic from their aliases will need to use this argument. BUG=668012 Review-Url: https://codereview.chromium.org/2808383008 Cr-Commit-Position: refs/heads/master@{#464311} Committed: https://chromium.googlesource.com/chromium/src/+/7178db73ead99cf38ec82a0d5a514f6612fddf2d

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -84 lines) Patch
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAlignItems.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAlignOrJustifyContent.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAlignOrJustifySelf.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIBaselineShift.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIBorderRadius.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPICaretColor.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIClip.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIClipPath.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIColor.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIColumnCount.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIColumnGap.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIColumnRuleWidth.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIColumnSpan.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIColumnWidth.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIContain.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIContent.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterReset.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPICursor.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFlexBasis.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFamily.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontSize.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontSizeAdjust.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariantCaps.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariantLigatures.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariantNumeric.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariationSettings.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFragmentation.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIGridAutoFlow.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImage.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIJustifyItems.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPILetterAndWordSpacing.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPILineHeight.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPILineHeightStep.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5 View 1 chunk +1 line, -1 line 1 comment Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOpacity.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOrder.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOutlineColor.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOutlineOffset.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOutlineWidth.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPage.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPaintOrder.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPaintStroke.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIQuotes.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRadius.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIScale.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIScrollSnapCoordinate.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeImageThreshold.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeMargin.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeOutside.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPISize.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIStrokeDasharray.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIStrokeMiterlimit.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITabSize.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextDecorationColor.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextDecorationSkip.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextSizeAdjust.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextUnderlinePosition.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITouchAction.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITransformOrigin.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPITranslate.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIVerticalAlign.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitBorderSpacing.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitBoxFlexGroup.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitFontSizeDelta.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitHighlight.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitLineClamp.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitMargin.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitMaxLogicalWidthOrHeight.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitPadding.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitTextEmphasisStyle.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitTextStrokeWidth.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitTransformOriginZ.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWillChange.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZIndex.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (9 generated)
Bugs Nash
3 years, 8 months ago (2017-04-13 03:49:56 UTC) #4
nainar
rs lgtm but I was wondering can this patch be delayed till CSSPropertyTransitionTimingFunction and CSSPropertyAliasWebkitAnimationName ...
3 years, 8 months ago (2017-04-13 04:29:56 UTC) #5
Bugs Nash
On 2017/04/13 at 04:29:56, nainar wrote: > rs lgtm but I was wondering can this ...
3 years, 8 months ago (2017-04-13 04:39:55 UTC) #7
alancutter (OOO until 2018)
lgtm. I would prefer that making use of this parameter were part of this patch ...
3 years, 8 months ago (2017-04-13 04:45:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2808383008/1
3 years, 8 months ago (2017-04-13 04:46:03 UTC) #11
alancutter (OOO until 2018)
https://codereview.chromium.org/2808383008/diff/1/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5 File third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5 (right): https://codereview.chromium.org/2808383008/diff/1/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5#newcode39 third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5:39: parameters: "(CSSParserTokenRange&, const CSSParserContext&, CSSPropertyID)", Can we give this ...
3 years, 8 months ago (2017-04-13 04:47:13 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 05:35:32 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/7178db73ead99cf38ec82a0d5a51...

Powered by Google App Engine
This is Rietveld 408576698