|
|
Implement animation tainted custom property values
This patch updates the CSSVariableResolver to be aware of animation tainted
custom property values and to support disallowing custom property
substitution when a referenced value has been animation tainted.
Relevant spec: https://drafts.csswg.org/css-variables/#substitute-a-var
The spec currently references the out of date notion of animation tainted
custom properties rather than tainted values. This implementation reflects
a future amendment of the spec.
Because animations are the only source of animation tainted values and our
implementation doesn't support animations setting custom property values
there is no user-visible change made by this patch.
The (failing) layout test shows the kind of behaviour this patch is
intended to support.
BUG= 644148
Committed: https://crrev.com/87009415889d2164713316a5e5283e484570f6fd
Cr-Commit-Position: refs/heads/master@{#423469}
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+271 lines, -93 lines) |
Patch |
 |
A |
third_party/WebKit/LayoutTests/animations/custom-property-value-tainting.html
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/animations/custom-property-value-tainting-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/css/CSSAnimations.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/CSSVariableData.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/CSSVariableData.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/DOMWindowCSS.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/KeyframeStyleRuleCSSStyleDeclaration.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/PropertyRegistration.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/StylePropertySet.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/StylePropertySet.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParser.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParser.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+20 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
9 chunks |
+54 lines, -19 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 20 (10 generated)
|