|
Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue
Split CSSPrimitiveValue into two subtypes, CSSPrimitiveValue (for
numerical and calc values) and CSSIdentifierValue (for identifiers).
This is part of a larger effort to split up CSSPrimitiveValue.
This patch is meant to be entirely mechanical changes; if it passes all
tests with no behaviour changes, it has been implemented correctly. The
patch itself was mainly done with find-and-replaces to createKeyword()
and convertTo<>(), then fixing any other errors, sucha as those
resulting from irregular flow (e.g. if (!x.isPrimitiveValue) return;
in CSSToStyleMap) or similar.
The largest change has been to CSSPrimitiveValueMappings.h, since the
convertTo<> method has been moved to CSSIdentifierValue. Also, a
create(Length, zoom) method was added to CSSValue temporarily, and
callers will later change to switch between which create method
(CSSPrimitiveValue or CSSIdentifierValue) they wish to use.
BUG= 523893
Total comments: 14
Total comments: 1
Total comments: 6
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2406 lines, -2414 lines) |
Patch |
|
M |
third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
View
|
|
4 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
View
|
1
2
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSPositionAxisListInterpolationType.cpp
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
View
|
1
2
3
4
|
7 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp
|
View
|
1
2
3
|
5 chunks |
+17 lines, -16 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSBasicShapeValues.h
|
View
|
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp
|
View
|
1
2
3
4
5
|
6 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
View
|
1
2
3
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSContentDistributionValue.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSCounterValue.h
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSGradientValue.h
|
View
|
1
2
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSGradientValue.cpp
|
View
|
1
|
8 chunks |
+46 lines, -24 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/css/CSSIdentifierValue.h
|
View
|
1
2
3
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/css/CSSIdentifierValue.cpp
|
View
|
1
2
3
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSMatrix.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
View
|
1
2
|
7 chunks |
+6 lines, -75 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
102 chunks |
+1000 lines, -1187 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSQuadValue.h
|
View
|
|
4 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSReflectValue.h
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSReflectValue.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSShadowValue.h
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSShadowValue.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSValue.h
|
View
|
3
4
5
6
7
8
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSValue.cpp
|
View
|
1
|
7 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSValuePool.h
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
View
|
1
2
3
4
5
6
7
8
|
103 chunks |
+343 lines, -343 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/FontFace.cpp
|
View
|
1
2
3
4
|
7 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/MediaQueryExp.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/StylePropertySerializer.cpp
|
View
|
1
2
3
|
9 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/StylePropertySet.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
View
|
1
2
3
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
1
2
3
4
5
6
|
74 chunks |
+138 lines, -132 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
View
|
1
2
3
4
5
6
|
11 chunks |
+47 lines, -42 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp
|
View
|
1
2
3
4
5
|
21 chunks |
+61 lines, -59 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h
|
View
|
1
2
|
3 chunks |
+24 lines, -23 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
|
View
|
1
2
3
4
|
34 chunks |
+108 lines, -116 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
1
2
3
4
5
6
|
18 chunks |
+90 lines, -87 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+32 lines, -26 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/Element.cpp
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/TextLinkColors.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
View
|
1
2
3
4
|
22 chunks |
+64 lines, -59 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/html/HTMLTableElement.cpp
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/WebAXObject.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 76 (42 generated)
|