|
|
Fix animations not starting on detached elements
An earlier fix for composited animations disabled animations
from starting on elements that aren't attached to a live DOM.
This patch fixes the behavioural regression.
This also avoids starting animations on the compositor for
detached elements that depend on style
e.g. {transform: 'translateX(10em)'}. Instead these animations
will run on the main thread.
BUG= 502145
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197624
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+35 lines, -71 lines) |
Patch |
 |
D |
LayoutTests/animations/composited-animation-style-update.html
|
View
|
1
2
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/animations/composited-animation-style-update-expected.html
|
View
|
1
2
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/insert-composited-animation.html
|
View
|
|
1 chunk |
+6 lines, -11 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/insert-composited-animation-expected.html
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/insert-style-dependent-animation.html
|
View
|
1
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/insert-style-dependent-animation-expected.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/virtual/threaded/animations/composited-animation-style-update.html
|
View
|
1
2
|
1 chunk |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/virtual/threaded/animations/composited-animation-style-update-expected.html
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/EffectInput.cpp
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/StringKeyframe.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.cpp
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.idl
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 17 (4 generated)
|