| Index: Source/devtools/front_end/elements/AnimationsSidebarPane.js
|
| diff --git a/Source/devtools/front_end/elements/AnimationsSidebarPane.js b/Source/devtools/front_end/elements/AnimationsSidebarPane.js
|
| index 7c0649baf243bda715ad68168b633d04bd5ceb1d..d0e6b6a3fe1515a71c37c378c1a463581fd77c0b 100644
|
| --- a/Source/devtools/front_end/elements/AnimationsSidebarPane.js
|
| +++ b/Source/devtools/front_end/elements/AnimationsSidebarPane.js
|
| @@ -44,9 +44,22 @@ WebInspector.AnimationsSidebarPane.prototype = {
|
| var id = player.source().name() ? player.source().name() : player.id();
|
| separatorElement.createTextChild(WebInspector.UIString("Animation") + " " + id);
|
| this.bodyElement.appendChild(this._animationSections[i].element);
|
| +
|
| + if (player.source().keyframesRule()) {
|
| + var keyframes = player.source().keyframesRule().keyframes();
|
| + for (var j = 0; j < keyframes.length; j++) {
|
| + var inlineStyle = { selectorText: keyframes[j].offset(), style: keyframes[j].style(), isAttribute: true };
|
| + var section = new WebInspector.StylePropertiesSection(this._stylesPane, inlineStyle, false, false);
|
| + section.expanded = true;
|
| + this.bodyElement.appendChild(section.element);
|
| + }
|
| + }
|
| }
|
| }
|
|
|
| + if (!node)
|
| + return;
|
| +
|
| if (this._selectedNode === node) {
|
| for (var i = 0; i < this._animationSections.length; ++i)
|
| this._animationSections[i].updateCurrentTime();
|
|
|