|
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
patch from issue 2346193002 at patchset 200001 ( http://crrev.com/2346193002#ps200001)
Committed: https://crrev.com/90e5a7289784dc5a491a7f1e3a87f30a1eb0bbad
Cr-Commit-Position: refs/heads/master@{#422305}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2645 lines, -2631 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
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp
|
View
|
1
|
2 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
|
View
|
1
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
View
|
1
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
View
|
1
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
View
|
1
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSPositionAxisListInterpolationType.cpp
|
View
|
1
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
|
View
|
1
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
|
View
|
1
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
View
|
1
2
3
|
7 chunks |
+12 lines, -9 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
|
5 chunks |
+18 lines, -19 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSBasicShapeValues.h
|
View
|
1
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp
|
View
|
1
|
6 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
View
|
1
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSContentDistributionValue.h
|
View
|
1
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSCounterValue.h
|
View
|
1
|
3 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSGradientValue.h
|
View
|
1
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSGradientValue.cpp
|
View
|
1
|
8 chunks |
+49 lines, -28 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/css/CSSIdentifierValue.h
|
View
|
1
2
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/css/CSSIdentifierValue.cpp
|
View
|
1
2
3
|
1 chunk |
+84 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSMatrix.cpp
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
|
View
|
1
|
7 chunks |
+4 lines, -17 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
View
|
1
|
7 chunks |
+6 lines, -73 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
|
View
|
1
|
104 chunks |
+1001 lines, -1187 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSQuadValue.h
|
View
|
1
|
4 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSReflectValue.h
|
View
|
1
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSReflectValue.cpp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSShadowValue.h
|
View
|
1
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSShadowValue.cpp
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSValue.h
|
View
|
1
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSValue.cpp
|
View
|
1
|
7 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSValuePool.h
|
View
|
1
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
View
|
1
2
3
|
116 chunks |
+378 lines, -385 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/FontFace.cpp
|
View
|
1
|
7 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/MediaQueryExp.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/StylePropertySerializer.cpp
|
View
|
1
|
9 chunks |
+25 lines, -24 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/StylePropertySet.cpp
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
View
|
1
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
|
View
|
1
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
1
2
3
|
75 chunks |
+180 lines, -176 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
|
View
|
1
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
View
|
1
|
11 chunks |
+61 lines, -56 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp
|
View
|
1
|
23 chunks |
+73 lines, -64 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
|
3 chunks |
+27 lines, -26 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
|
View
|
1
2
3
|
39 chunks |
+144 lines, -141 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
1
2
3
|
20 chunks |
+106 lines, -97 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp
|
View
|
1
|
4 chunks |
+32 lines, -26 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/Element.cpp
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/TextLinkColors.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
View
|
1
2
3
|
23 chunks |
+86 lines, -78 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/html/HTMLTableElement.cpp
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/WebAXObject.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (5 generated)
|