<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[194673] trunk/Source/WebInspectorUI</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/194673">194673</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-01-06 15:46:21 -0800 (Wed, 06 Jan 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Web Inspector: Add basic Animation section to Visual Sidebar
https://bugs.webkit.org/show_bug.cgi?id=152692

Patch by Devin Rousso &lt;dcrousso+webkit@gmail.com&gt; on 2016-01-06
Reviewed by Timothy Hatcher.

Adds a non-autocompleting section to the &quot;Effects&quot; section (renamed from
&quot;Animations&quot;) of the Visual sidebar for setting CSS Animation values.

* Scripts/copy-user-interface-resources.pl:
* Localizations/en.lproj/localizedStrings.js:
* UserInterface/Images/AnimationPlayStatePaused.svg: Added.
* UserInterface/Images/AnimationPlayStateRunning.svg: Added.
* UserInterface/Main.html:

* UserInterface/Views/VisualStyleBasicInput.js: Added.
(WebInspector.VisualStyleBasicInput):
(WebInspector.VisualStyleBasicInput.prototype.get value):
(WebInspector.VisualStyleBasicInput.prototype.set value):
(WebInspector.VisualStyleBasicInput.prototype.get synthesizedValue):
(WebInspector.VisualStyleBasicInput.prototype._handleInputElementInput):
Very basic editor that is just an input box with a given placeholder.

* UserInterface/Views/VisualStyleDetailsPanel.js:
(WebInspector.VisualStyleDetailsPanel):
(WebInspector.VisualStyleDetailsPanel.prototype._populateAnimationSection):
Creates the necessary property editors and adds them to their respective rows.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUILocalizationsenlprojlocalizedStringsjs">trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js</a></li>
<li><a href="#trunkSourceWebInspectorUIScriptscopyuserinterfaceresourcespl">trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceMainhtml">trunk/Source/WebInspectorUI/UserInterface/Main.html</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsVisualStyleDetailsPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceImagesAnimationPlayStatePausedsvg">trunk/Source/WebInspectorUI/UserInterface/Images/AnimationPlayStatePaused.svg</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceImagesAnimationPlayStateRunningsvg">trunk/Source/WebInspectorUI/UserInterface/Images/AnimationPlayStateRunning.svg</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsVisualStyleBasicInputjs">trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleBasicInput.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (194672 => 194673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2016-01-06 23:37:08 UTC (rev 194672)
+++ trunk/Source/WebInspectorUI/ChangeLog        2016-01-06 23:46:21 UTC (rev 194673)
</span><span class="lines">@@ -1,5 +1,34 @@
</span><span class="cx"> 2016-01-06  Devin Rousso  &lt;dcrousso+webkit@gmail.com&gt;
</span><span class="cx"> 
</span><ins>+        Web Inspector: Add basic Animation section to Visual Sidebar
+        https://bugs.webkit.org/show_bug.cgi?id=152692
+
+        Reviewed by Timothy Hatcher.
+
+        Adds a non-autocompleting section to the &quot;Effects&quot; section (renamed from
+        &quot;Animations&quot;) of the Visual sidebar for setting CSS Animation values.
+
+        * Scripts/copy-user-interface-resources.pl:
+        * Localizations/en.lproj/localizedStrings.js:
+        * UserInterface/Images/AnimationPlayStatePaused.svg: Added.
+        * UserInterface/Images/AnimationPlayStateRunning.svg: Added.
+        * UserInterface/Main.html:
+
+        * UserInterface/Views/VisualStyleBasicInput.js: Added.
+        (WebInspector.VisualStyleBasicInput):
+        (WebInspector.VisualStyleBasicInput.prototype.get value):
+        (WebInspector.VisualStyleBasicInput.prototype.set value):
+        (WebInspector.VisualStyleBasicInput.prototype.get synthesizedValue):
+        (WebInspector.VisualStyleBasicInput.prototype._handleInputElementInput):
+        Very basic editor that is just an input box with a given placeholder.
+
+        * UserInterface/Views/VisualStyleDetailsPanel.js:
+        (WebInspector.VisualStyleDetailsPanel):
+        (WebInspector.VisualStyleDetailsPanel.prototype._populateAnimationSection):
+        Creates the necessary property editors and adds them to their respective rows.
+
+2016-01-06  Devin Rousso  &lt;dcrousso+webkit@gmail.com&gt;
+
</ins><span class="cx">         Web Inspector: Add remaining background style properties to Visual sidebar
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=152757
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUILocalizationsenlprojlocalizedStringsjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js (194672 => 194673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js        2016-01-06 23:37:08 UTC (rev 194672)
+++ trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js        2016-01-06 23:46:21 UTC (rev 194673)
</span><span class="lines">@@ -229,6 +229,7 @@
</span><span class="cx"> localizedStrings[&quot;Edit Text&quot;] = &quot;Edit Text&quot;;
</span><span class="cx"> localizedStrings[&quot;Edit as HTML&quot;] = &quot;Edit as HTML&quot;;
</span><span class="cx"> localizedStrings[&quot;Edit  %s &quot;] = &quot;Edit  %s &quot;;
</span><ins>+localizedStrings[&quot;Effects&quot;] = &quot;Effects&quot;;
</ins><span class="cx"> localizedStrings[&quot;Element&quot;] = &quot;Element&quot;;
</span><span class="cx"> localizedStrings[&quot;Element clips compositing descendants&quot;] = &quot;Element clips compositing descendants&quot;;
</span><span class="cx"> localizedStrings[&quot;Element establishes a stacking context&quot;] = &quot;Element establishes a stacking context&quot;;
</span><span class="lines">@@ -269,6 +270,7 @@
</span><span class="cx"> localizedStrings[&quot;Enter a Gradient&quot;] = &quot;Enter a Gradient&quot;;
</span><span class="cx"> localizedStrings[&quot;Enter a URL&quot;] = &quot;Enter a URL&quot;;
</span><span class="cx"> localizedStrings[&quot;Enter a name.&quot;] = &quot;Enter a name.&quot;;
</span><ins>+localizedStrings[&quot;Enter the name of a Keyframe&quot;] = &quot;Enter the name of a Keyframe&quot;;
</ins><span class="cx"> localizedStrings[&quot;Error: &quot;] = &quot;Error: &quot;;
</span><span class="cx"> localizedStrings[&quot;Errors&quot;] = &quot;Errors&quot;;
</span><span class="cx"> localizedStrings[&quot;Eval Code&quot;] = &quot;Eval Code&quot;;
</span><span class="lines">@@ -284,6 +286,7 @@
</span><span class="cx"> localizedStrings[&quot;Extra Scripts&quot;] = &quot;Extra Scripts&quot;;
</span><span class="cx"> localizedStrings[&quot;Family&quot;] = &quot;Family&quot;;
</span><span class="cx"> localizedStrings[&quot;Filename&quot;] = &quot;Filename&quot;;
</span><ins>+localizedStrings[&quot;Fill Mode&quot;] = &quot;Fill Mode&quot;;
</ins><span class="cx"> localizedStrings[&quot;Filter %s&quot;] = &quot;Filter %s&quot;;
</span><span class="cx"> localizedStrings[&quot;Filter Breakpoint List&quot;] = &quot;Filter Breakpoint List&quot;;
</span><span class="cx"> localizedStrings[&quot;Filter Console Log&quot;] = &quot;Filter Console Log&quot;;
</span><span class="lines">@@ -364,6 +367,7 @@
</span><span class="cx"> localizedStrings[&quot;Inset&quot;] = &quot;Inset&quot;;
</span><span class="cx"> localizedStrings[&quot;Invalid&quot;] = &quot;Invalid&quot;;
</span><span class="cx"> localizedStrings[&quot;Invoke getter&quot;] = &quot;Invoke getter&quot;;
</span><ins>+localizedStrings[&quot;Iterations&quot;] = &quot;Iterations&quot;;
</ins><span class="cx"> localizedStrings[&quot;JavaScript &amp; Events&quot;] = &quot;JavaScript &amp; Events&quot;;
</span><span class="cx"> localizedStrings[&quot;Jump to Definition&quot;] = &quot;Jump to Definition&quot;;
</span><span class="cx"> localizedStrings[&quot;Keep Log on Navigation&quot;] = &quot;Keep Log on Navigation&quot;;
</span><span class="lines">@@ -590,6 +594,7 @@
</span><span class="cx"> localizedStrings[&quot;Start Playback&quot;] = &quot;Start Playback&quot;;
</span><span class="cx"> localizedStrings[&quot;Start Recording&quot;] = &quot;Start Recording&quot;;
</span><span class="cx"> localizedStrings[&quot;Start Time&quot;] = &quot;Start Time&quot;;
</span><ins>+localizedStrings[&quot;State&quot;] = &quot;State&quot;;
</ins><span class="cx"> localizedStrings[&quot;Status&quot;] = &quot;Status&quot;;
</span><span class="cx"> localizedStrings[&quot;Step&quot;] = &quot;Step&quot;;
</span><span class="cx"> localizedStrings[&quot;Step into (%s or %s)&quot;] = &quot;Step into (%s or %s)&quot;;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIScriptscopyuserinterfaceresourcespl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl (194672 => 194673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl        2016-01-06 23:37:08 UTC (rev 194672)
+++ trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl        2016-01-06 23:46:21 UTC (rev 194673)
</span><span class="lines">@@ -94,6 +94,7 @@
</span><span class="cx">  * Copyright (C) 2014-2015 Saam Barati &lt;saambarati1@gmail.com&gt;
</span><span class="cx">  * Copyright (C) 2014 Antoine Quint
</span><span class="cx">  * Copyright (C) 2015 Tobias Reiss &lt;tobi+webkit@basecode.de&gt;
</span><ins>+ * Copyright (C) 2015-2016 Devin Rousso &lt;dcrousso+webkit@gmail.com&gt;. All rights reserved.
</ins><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="cx">  * modification, are permitted provided that the following conditions
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceImagesAnimationPlayStatePausedsvg"></a>
<div class="addfile"><h4>Added: trunk/Source/WebInspectorUI/UserInterface/Images/AnimationPlayStatePaused.svg (0 => 194673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Images/AnimationPlayStatePaused.svg                                (rev 0)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/AnimationPlayStatePaused.svg        2016-01-06 23:46:21 UTC (rev 194673)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
+&lt;!-- Copyright © 2015 Apple Inc. All rights reserved. --&gt;
+&lt;!-- Copyright © 2016 Devin Rousso &lt;dcrousso+webkit@gmail.com&gt;. All rights reserved. --&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; id=&quot;root&quot; version=&quot;1.1&quot; viewBox=&quot;0 0 16 16&quot;&gt;
+    &lt;rect fill=&quot;currentColor&quot; stroke=&quot;none&quot; x=&quot;2.5&quot; y=&quot;2.5&quot; width=&quot;3&quot; height=&quot;10&quot;/&gt;
+    &lt;rect fill=&quot;currentColor&quot; stroke=&quot;none&quot; x=&quot;9.5&quot; y=&quot;2.5&quot; width=&quot;3&quot; height=&quot;10&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceImagesAnimationPlayStateRunningsvg"></a>
<div class="addfile"><h4>Added: trunk/Source/WebInspectorUI/UserInterface/Images/AnimationPlayStateRunning.svg (0 => 194673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Images/AnimationPlayStateRunning.svg                                (rev 0)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/AnimationPlayStateRunning.svg        2016-01-06 23:46:21 UTC (rev 194673)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
+&lt;!-- Copyright © 2016 Devin Rousso &lt;dcrousso+webkit@gmail.com&gt;. All rights reserved. --&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; id=&quot;root&quot; version=&quot;1.1&quot; viewBox=&quot;0 0 16 16&quot;&gt;
+    &lt;path fill=&quot;currentColor&quot; stroke=&quot;none&quot; d=&quot;M 4.5 2.5 L 4.5 12.5 L 12.5 7.5 Z&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceMainhtml"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Main.html (194672 => 194673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Main.html        2016-01-06 23:37:08 UTC (rev 194672)
+++ trunk/Source/WebInspectorUI/UserInterface/Main.html        2016-01-06 23:46:21 UTC (rev 194673)
</span><span class="lines">@@ -584,6 +584,7 @@
</span><span class="cx">     &lt;script src=&quot;Views/VisualStyleDetailsPanel.js&quot;&gt;&lt;/script&gt;
</span><span class="cx">     &lt;script src=&quot;Views/VisualStylePropertyEditor.js&quot;&gt;&lt;/script&gt;
</span><span class="cx">     &lt;script src=&quot;Views/VisualStyleBackgroundPicker.js&quot;&gt;&lt;/script&gt;
</span><ins>+    &lt;script src=&quot;Views/VisualStyleBasicInput.js&quot;&gt;&lt;/script&gt;
</ins><span class="cx">     &lt;script src=&quot;Views/VisualStyleColorPicker.js&quot;&gt;&lt;/script&gt;
</span><span class="cx">     &lt;script src=&quot;Views/VisualStyleCommaSeparatedKeywordEditor.js&quot;&gt;&lt;/script&gt;
</span><span class="cx">     &lt;script src=&quot;Views/VisualStyleFontFamilyListEditor.js&quot;&gt;&lt;/script&gt;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsVisualStyleBasicInputjs"></a>
<div class="addfile"><h4>Added: trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleBasicInput.js (0 => 194673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleBasicInput.js                                (rev 0)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleBasicInput.js        2016-01-06 23:46:21 UTC (rev 194673)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+/*
+ * Copyright (C) 2016 Devin Rousso &lt;dcrousso+webkit@gmail.com&gt;. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+WebInspector.VisualStyleBasicInput = class VisualStyleBasicInput extends WebInspector.VisualStylePropertyEditor
+{
+    constructor(propertyNames, text, placeholder, layoutReversed)
+    {
+        super(propertyNames, text, null, null, &quot;basic-input&quot;, layoutReversed);
+
+        this._inputElement = this.contentElement.createChild(&quot;input&quot;);
+        this._inputElement.spellcheck = false;
+        this._inputElement.setAttribute(&quot;placeholder&quot;, placeholder || &quot;&quot;);
+        this._inputElement.addEventListener(&quot;input&quot;, this._handleInputElementInput.bind(this));
+    }
+
+    // Public
+
+    get value()
+    {
+        return this._inputElement.value || null;
+    }
+
+    set value(value)
+    {
+        if (value &amp;&amp; value === this.value)
+            return;
+
+        this._inputElement.value = value || &quot;&quot;;
+    }
+
+    get synthesizedValue()
+    {
+        return this.value;
+    }
+
+    // Private
+
+    _handleInputElementInput(event)
+    {
+        this._valueDidChange();
+    }
+};
</ins></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsVisualStyleDetailsPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js (194672 => 194673)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js        2016-01-06 23:37:08 UTC (rev 194672)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js        2016-01-06 23:46:21 UTC (rev 194673)
</span><span class="lines">@@ -94,11 +94,12 @@
</span><span class="cx">         this._sections.background = new WebInspector.DetailsSection(&quot;background&quot;, WebInspector.UIString(&quot;Background&quot;), [this._groups.backgroundStyle.section, this._groups.border.section, this._groups.outline.section, this._groups.boxShadow.section, this._groups.listStyle.section]);
</span><span class="cx">         this.element.appendChild(this._sections.background.element);
</span><span class="cx"> 
</span><del>-        // Animation Section
</del><ins>+        // Effects Section
</ins><span class="cx">         this._generateSection(&quot;transition&quot;, WebInspector.UIString(&quot;Transition&quot;));
</span><ins>+        this._generateSection(&quot;animation&quot;, WebInspector.UIString(&quot;Animation&quot;));
</ins><span class="cx"> 
</span><del>-        this._sections.animation = new WebInspector.DetailsSection(&quot;animation&quot;, WebInspector.UIString(&quot;Animation&quot;), [this._groups.transition.section]);
-        this.element.appendChild(this._sections.animation.element);
</del><ins>+        this._sections.effects = new WebInspector.DetailsSection(&quot;effects&quot;, WebInspector.UIString(&quot;Effects&quot;), [this._groups.transition.section, this._groups.animation.section]);
+        this.element.appendChild(this._sections.effects.element);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Public
</span><span class="lines">@@ -1133,6 +1134,55 @@
</span><span class="cx">         this._populateSection(group, [transitionGroup]);
</span><span class="cx">     }
</span><span class="cx"> 
</span><ins>+    _populateAnimationSection()
+    {
+        let group = this._groups.animation;
+        let properties = group.properties;
+
+        let animationNameRow = new WebInspector.DetailsSectionRow;
+
+        properties.animationName = new WebInspector.VisualStyleBasicInput(&quot;animation-name&quot;, WebInspector.UIString(&quot;Name&quot;), WebInspector.UIString(&quot;Enter the name of a Keyframe&quot;));
+
+        animationNameRow.element.appendChild(properties.animationName.element);
+
+        let animationTimingRow = new WebInspector.DetailsSectionRow;
+
+        properties.animationTiming = new WebInspector.VisualStyleTimingEditor(&quot;animation-timing-function&quot;, WebInspector.UIString(&quot;Timing&quot;), [&quot;Linear&quot;, &quot;Ease&quot;, &quot;Ease In&quot;, &quot;Ease Out&quot;, &quot;Ease In Out&quot;]);
+        properties.animationIterationCount = new WebInspector.VisualStyleNumberInputBox(&quot;animation-iteration-count&quot;, WebInspector.UIString(&quot;Iterations&quot;), this._keywords.defaults.concat([&quot;Infinite&quot;]), null);
+
+        animationTimingRow.element.appendChild(properties.animationTiming.element);
+        animationTimingRow.element.appendChild(properties.animationIterationCount.element);
+
+        let animationDurationRow = new WebInspector.DetailsSectionRow;
+
+        let animationTimeKeywords = [&quot;s&quot;, &quot;ms&quot;];
+        properties.animationDuration = new WebInspector.VisualStyleNumberInputBox(&quot;animation-duration&quot;, WebInspector.UIString(&quot;Duration&quot;), null, animationTimeKeywords);
+        properties.animationDelay = new WebInspector.VisualStyleNumberInputBox(&quot;animation-delay&quot;, WebInspector.UIString(&quot;Delay&quot;), null, animationTimeKeywords);
+
+        animationDurationRow.element.appendChild(properties.animationDuration.element);
+        animationDurationRow.element.appendChild(properties.animationDelay.element);
+
+        let animationDirectionRow = new WebInspector.DetailsSectionRow;
+
+        properties.animationDirection = new WebInspector.VisualStyleKeywordPicker(&quot;animation-direction&quot;, WebInspector.UIString(&quot;Direction&quot;), {
+            basic: this._keywords.defaults.concat([&quot;Normal&quot;, &quot;Reverse&quot;]),
+            advanced: [&quot;Alternate&quot;, &quot;Alternate Reverse&quot;]
+        });
+        properties.animationFillMode = new WebInspector.VisualStyleKeywordPicker(&quot;animation-fill-mode&quot;, WebInspector.UIString(&quot;Fill Mode&quot;), this._keywords.defaults.concat([&quot;None&quot;, &quot;Forwards&quot;, &quot;Backwards&quot;, &quot;Both&quot;]));
+
+        animationDirectionRow.element.appendChild(properties.animationDirection.element);
+        animationDirectionRow.element.appendChild(properties.animationFillMode.element);
+
+        let animationStateRow = new WebInspector.DetailsSectionRow;
+
+        properties.animationPlayState = new WebInspector.VisualStyleKeywordIconList(&quot;animation-play-state&quot;, WebInspector.UIString(&quot;State&quot;), [&quot;Running&quot;, &quot;Paused&quot;, &quot;Initial&quot;]);
+
+        animationStateRow.element.appendChild(properties.animationPlayState.element);
+
+        let animationGroup = new WebInspector.DetailsSectionGroup([animationNameRow, animationTimingRow, animationDurationRow, animationDirectionRow, animationStateRow]);
+        this._populateSection(group, [animationGroup]);
+    }
+
</ins><span class="cx">     _noRemainingCommaSeparatedEditorItems(propertyCombiner, propertyEditors)
</span><span class="cx">     {
</span><span class="cx">         if (!propertyCombiner || !propertyEditors)
</span></span></pre>
</div>
</div>

</body>
</html>