<!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>[162417] 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/162417">162417</a></dd>
<dt>Author</dt> <dd>timothy@apple.com</dd>
<dt>Date</dt> <dd>2014-01-20 18:56:10 -0800 (Mon, 20 Jan 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Improve WebInspector.TimelineOverview by not putting WebInspector.TimelineRuler in a scroll area.

https://bugs.webkit.org/show_bug.cgi?id=127145

Reviewed by Joseph Pecoraro.

* UserInterface/TimelineOverview.css:
(.timeline-overview &gt; .scroll-container):
(.timeline-overview &gt; .timeline-ruler):
(.timeline-overview &gt; .scroll-container &gt; .scroll-width-sizer):
* UserInterface/TimelineOverview.js:
(WebInspector.TimelineOverview):
(WebInspector.TimelineOverview.prototype.get startTime):
(WebInspector.TimelineOverview.prototype.set startTime):
(WebInspector.TimelineOverview.prototype.get secondsPerPixel):
(WebInspector.TimelineOverview.prototype.set secondsPerPixel):
(WebInspector.TimelineOverview.prototype.get scrollStartTime):
(WebInspector.TimelineOverview.prototype.set scrollStartTime):
(WebInspector.TimelineOverview.prototype.get visibleDuration):
(WebInspector.TimelineOverview.prototype.revealMarker):
(WebInspector.TimelineOverview.prototype.updateLayout):
(WebInspector.TimelineOverview.prototype._handleScrollEvent):
(WebInspector.TimelineOverview.prototype._handleWheelEvent):
* UserInterface/TimelineRuler.js:
(WebInspector.TimelineRuler.MinimumSelectionTimeRange): Reduce to 10ms now that super zoom has no performance impact.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceTimelineContentViewjs">trunk/Source/WebInspectorUI/UserInterface/TimelineContentView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceTimelineOverviewcss">trunk/Source/WebInspectorUI/UserInterface/TimelineOverview.css</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceTimelineOverviewjs">trunk/Source/WebInspectorUI/UserInterface/TimelineOverview.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceTimelineRulerjs">trunk/Source/WebInspectorUI/UserInterface/TimelineRuler.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (162416 => 162417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2014-01-21 02:56:04 UTC (rev 162416)
+++ trunk/Source/WebInspectorUI/ChangeLog        2014-01-21 02:56:10 UTC (rev 162417)
</span><span class="lines">@@ -1,3 +1,31 @@
</span><ins>+2014-01-16  Timothy Hatcher  &lt;timothy@apple.com&gt;
+
+        Improve WebInspector.TimelineOverview by not putting WebInspector.TimelineRuler in a scroll area.
+
+        https://bugs.webkit.org/show_bug.cgi?id=127145
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/TimelineOverview.css:
+        (.timeline-overview &gt; .scroll-container):
+        (.timeline-overview &gt; .timeline-ruler):
+        (.timeline-overview &gt; .scroll-container &gt; .scroll-width-sizer):
+        * UserInterface/TimelineOverview.js:
+        (WebInspector.TimelineOverview):
+        (WebInspector.TimelineOverview.prototype.get startTime):
+        (WebInspector.TimelineOverview.prototype.set startTime):
+        (WebInspector.TimelineOverview.prototype.get secondsPerPixel):
+        (WebInspector.TimelineOverview.prototype.set secondsPerPixel):
+        (WebInspector.TimelineOverview.prototype.get scrollStartTime):
+        (WebInspector.TimelineOverview.prototype.set scrollStartTime):
+        (WebInspector.TimelineOverview.prototype.get visibleDuration):
+        (WebInspector.TimelineOverview.prototype.revealMarker):
+        (WebInspector.TimelineOverview.prototype.updateLayout):
+        (WebInspector.TimelineOverview.prototype._handleScrollEvent):
+        (WebInspector.TimelineOverview.prototype._handleWheelEvent):
+        * UserInterface/TimelineRuler.js:
+        (WebInspector.TimelineRuler.MinimumSelectionTimeRange): Reduce to 10ms now that super zoom has no performance impact.
+
</ins><span class="cx"> 2014-01-15  Timothy Hatcher  &lt;timothy@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Implement the discrete Script and Layout timeline views.
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceTimelineContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/TimelineContentView.js (162416 => 162417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/TimelineContentView.js        2014-01-21 02:56:04 UTC (rev 162416)
+++ trunk/Source/WebInspectorUI/UserInterface/TimelineContentView.js        2014-01-21 02:56:10 UTC (rev 162417)
</span><span class="lines">@@ -261,12 +261,12 @@
</span><span class="cx">         this._currentTimeMarker.time = currentTime;
</span><span class="cx">         this._currentTimelineView.currentTime = currentTime;
</span><span class="cx"> 
</span><ins>+        this._timelineOverview.revealMarker(this._currentTimeMarker);
+
</ins><span class="cx">         // Force a layout now since we are already in an animation frame and don't need to delay it until the next.
</span><span class="cx">         this._timelineOverview.updateLayoutIfNeeded();
</span><span class="cx">         this._currentTimelineView.updateLayoutIfNeeded();
</span><span class="cx"> 
</span><del>-        this._timelineOverview.revealMarker(this._currentTimeMarker);
-
</del><span class="cx">         // Only stop updating if the current time is greater than the end time.
</span><span class="cx">         if (!this._updating &amp;&amp; currentTime &gt;= endTime) {
</span><span class="cx">             this._lastUpdateTimestamp = NaN;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceTimelineOverviewcss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/TimelineOverview.css (162416 => 162417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/TimelineOverview.css        2014-01-21 02:56:04 UTC (rev 162416)
+++ trunk/Source/WebInspectorUI/UserInterface/TimelineOverview.css        2014-01-21 02:56:10 UTC (rev 162417)
</span><span class="lines">@@ -25,19 +25,36 @@
</span><span class="cx"> 
</span><span class="cx"> .timeline-overview &gt; .scroll-container {
</span><span class="cx">     position: absolute;
</span><del>-    top: 0;
</del><span class="cx">     left: 0;
</span><span class="cx">     right: 0;
</span><span class="cx">     bottom: 0;
</span><ins>+    height: 16px;
</ins><span class="cx">     overflow-x: auto;
</span><span class="cx">     overflow-y: hidden;
</span><ins>+    opacity: 0;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-.timeline-overview &gt; .scroll-container &gt; .timeline-ruler {
</del><ins>+.timeline-overview:hover &gt; .scroll-container {
+    opacity: 0.75;
+}
+
+.timeline-overview &gt; .scroll-container:hover {
+    opacity: 1;
+}
+
+.timeline-overview &gt; .timeline-ruler {
</ins><span class="cx">     position: absolute;
</span><span class="cx">     top: 0;
</span><span class="cx">     left: 0;
</span><span class="cx">     bottom: 0;
</span><del>-    min-width: 100%;
-    overflow: hidden;
</del><ins>+    right: 0;
</ins><span class="cx"> }
</span><ins>+
+.timeline-overview &gt; .scroll-container &gt; .scroll-width-sizer {
+    position: absolute;
+    top: 0;
+    left: 0;
+    height: 1px;
+    visibility: hidden;
+    pointer-events: none;
+}
</ins></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceTimelineOverviewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/TimelineOverview.js (162416 => 162417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/TimelineOverview.js        2014-01-21 02:56:04 UTC (rev 162416)
+++ trunk/Source/WebInspectorUI/UserInterface/TimelineOverview.js        2014-01-21 02:56:10 UTC (rev 162417)
</span><span class="lines">@@ -29,28 +29,35 @@
</span><span class="cx"> 
</span><span class="cx">     this._element = document.createElement(&quot;div&quot;);
</span><span class="cx">     this._element.className = WebInspector.TimelineOverview.StyleClassName;
</span><del>-
</del><span class="cx">     this._element.addEventListener(&quot;wheel&quot;, this._handleWheelEvent.bind(this));
</span><span class="cx"> 
</span><del>-    this._scrollContainer = document.createElement(&quot;div&quot;);
-    this._scrollContainer.className = WebInspector.TimelineOverview.ScrollContainerStyleClassName;
-    this._element.appendChild(this._scrollContainer);
-
</del><span class="cx">     this._timelineRuler = new WebInspector.TimelineRuler;
</span><span class="cx">     this._timelineRuler.allowsClippedLabels = true;
</span><span class="cx">     this._timelineRuler.allowsTimeRangeSelection = true;
</span><span class="cx">     this._timelineRuler.addEventListener(WebInspector.TimelineRuler.Event.TimeRangeSelectionChanged, this._timeRangeSelectionChanged, this);
</span><del>-    this._scrollContainer.appendChild(this._timelineRuler.element);
</del><ins>+    this._element.appendChild(this._timelineRuler.element);
</ins><span class="cx"> 
</span><ins>+    this._scrollContainer = document.createElement(&quot;div&quot;);
+    this._scrollContainer.className = WebInspector.TimelineOverview.ScrollContainerStyleClassName;
+    this._scrollContainer.addEventListener(&quot;scroll&quot;, this._handleScrollEvent.bind(this));
+    this._element.appendChild(this._scrollContainer);
+
+    this._scrollWidthSizer = document.createElement(&quot;div&quot;);
+    this._scrollWidthSizer.className = WebInspector.TimelineOverview.ScrollWidthSizerStyleClassName;
+    this._scrollContainer.appendChild(this._scrollWidthSizer);
+
+    this._startTime = 0;
</ins><span class="cx">     this._endTime = 0;
</span><ins>+    this._secondsPerPixel = 0.0025;
+    this._scrollStartTime = 0;
</ins><span class="cx"> 
</span><del>-    this.startTime = 0;
-    this.secondsPerPixel = 0.0025;
</del><ins>+    this.selectionStartTime = 0;
</ins><span class="cx">     this.selectionDuration = 3;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> WebInspector.TimelineOverview.StyleClassName = &quot;timeline-overview&quot;;
</span><span class="cx"> WebInspector.TimelineOverview.ScrollContainerStyleClassName = &quot;scroll-container&quot;;
</span><ins>+WebInspector.TimelineOverview.ScrollWidthSizerStyleClassName = &quot;scroll-width-sizer&quot;;
</ins><span class="cx"> WebInspector.TimelineOverview.MinimumSecondsPerPixel = 0.001;
</span><span class="cx"> WebInspector.TimelineOverview.ScrollDeltaDenominator = 500;
</span><span class="cx"> 
</span><span class="lines">@@ -71,31 +78,32 @@
</span><span class="cx"> 
</span><span class="cx">     get startTime()
</span><span class="cx">     {
</span><del>-        return this._timelineRuler.startTime;
</del><ins>+        return this._startTime;
</ins><span class="cx">     },
</span><span class="cx"> 
</span><span class="cx">     set startTime(x)
</span><span class="cx">     {
</span><del>-        if (this._timelineRuler.startTime === x)
</del><ins>+        if (this._startTime === x)
</ins><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        this._timelineRuler.zeroTime = x;
-        this._timelineRuler.startTime = x;
</del><ins>+        this._startTime = x;
</ins><span class="cx"> 
</span><span class="cx">         this._needsLayout();
</span><span class="cx">     },
</span><span class="cx"> 
</span><span class="cx">     get secondsPerPixel()
</span><span class="cx">     {
</span><del>-        return this._timelineRuler.secondsPerPixel;
</del><ins>+        return this._secondsPerPixel;
</ins><span class="cx">     },
</span><span class="cx"> 
</span><span class="cx">     set secondsPerPixel(x)
</span><span class="cx">     {
</span><del>-        if (this._timelineRuler.secondsPerPixel === x)
</del><ins>+        x = Math.max(WebInspector.TimelineOverview.MinimumSecondsPerPixel, x);
+
+        if (this._secondsPerPixel === x)
</ins><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        this._timelineRuler.secondsPerPixel = Math.max(WebInspector.TimelineOverview.MinimumSecondsPerPixel, x);
</del><ins>+        this._secondsPerPixel = x;
</ins><span class="cx"> 
</span><span class="cx">         this._needsLayout();
</span><span class="cx">     },
</span><span class="lines">@@ -115,6 +123,26 @@
</span><span class="cx">         this._needsLayout();
</span><span class="cx">     },
</span><span class="cx"> 
</span><ins>+    get scrollStartTime()
+    {
+        return this._scrollStartTime;
+    },
+
+    set scrollStartTime(x)
+    {
+        if (this._scrollStartTime === x)
+            return;
+
+        this._scrollStartTime = x || 0;
+
+        this._needsLayout();
+    },
+
+    get visibleDuration()
+    {
+        return this._scrollContainer.offsetWidth * this._secondsPerPixel;
+    },
+
</ins><span class="cx">     get selectionStartTime()
</span><span class="cx">     {
</span><span class="cx">         return this._timelineRuler.selectionStartTime;
</span><span class="lines">@@ -147,10 +175,7 @@
</span><span class="cx"> 
</span><span class="cx">     revealMarker: function(marker)
</span><span class="cx">     {
</span><del>-        var markerElement = this._timelineRuler.elementForMarker(marker);
-        if (!markerElement)
-            return;
-        markerElement.scrollIntoViewIfNeeded(true);
</del><ins>+        this.scrollStartTime = marker.time - (this.visibleDuration / 2);
</ins><span class="cx">     },
</span><span class="cx"> 
</span><span class="cx">     updateLayout: function()
</span><span class="lines">@@ -161,13 +186,25 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         // Calculate the required width based on the duration and seconds per pixel.
</span><del>-        var duration = this.endTime - this.startTime;
-        var newWidth = Math.ceil(duration / this.secondsPerPixel);
</del><ins>+        var duration = this._endTime - this._startTime;
+        var newWidth = Math.ceil(duration / this._secondsPerPixel);
</ins><span class="cx"> 
</span><span class="cx">         // Update all relevant elements to the new required width.
</span><del>-        this._updateElementWidth(this._timelineRuler.element, newWidth);
</del><ins>+        this._updateElementWidth(this._scrollWidthSizer, newWidth);
</ins><span class="cx"> 
</span><del>-        // Update the time ruler layout now that its width has changed.
</del><ins>+        // Clamp the scroll start time to match what the scroll bar would allow.
+        var scrollStartTime = Math.min(this._scrollStartTime, this._endTime - this.visibleDuration);
+        scrollStartTime = Math.max(this._startTime, scrollStartTime);
+
+        this._timelineRuler.zeroTime = this._startTime;
+        this._timelineRuler.startTime = scrollStartTime;
+        this._timelineRuler.secondsPerPixel = this._secondsPerPixel;
+
+        if (!this._dontUpdateScrollLeft) {
+            this._ignoreNextScrollEvent = true;
+            this._scrollContainer.scrollLeft = Math.ceil((scrollStartTime - this._startTime) / this._secondsPerPixel);
+        }
+
</ins><span class="cx">         this._timelineRuler.updateLayout();
</span><span class="cx">     },
</span><span class="cx"> 
</span><span class="lines">@@ -196,26 +233,50 @@
</span><span class="cx">         this._scheduledLayoutUpdateIdentifier = requestAnimationFrame(this.updateLayout.bind(this));
</span><span class="cx">     },
</span><span class="cx"> 
</span><ins>+    _handleScrollEvent: function(event)
+    {
+        if (this._ignoreNextScrollEvent) {
+            delete this._ignoreNextScrollEvent;
+            return;
+        }
+
+        this._dontUpdateScrollLeft = true;
+
+        var scrollOffset = this._scrollContainer.scrollLeft;
+        this.scrollStartTime = this._startTime + (scrollOffset * this._secondsPerPixel);
+
+        // Force layout so we can update with the scroll position synchronously.
+        this.updateLayoutIfNeeded();
+
+        delete this._dontUpdateScrollLeft;
+    },
+
</ins><span class="cx">     _handleWheelEvent: function(event)
</span><span class="cx">     {
</span><ins>+        // Ignore cloned events that come our way, we already handled the original.
+        if (event.__cloned)
+            return;
+
</ins><span class="cx">         // Require twice the vertical delta to overcome horizontal scrolling. This prevents most
</span><span class="cx">         // cases of inadvertent zooming for slightly diagonal scrolls.
</span><del>-        if (Math.abs(event.deltaX) &gt;= Math.abs(event.deltaY) * 0.5)
</del><ins>+        if (Math.abs(event.deltaX) &gt;= Math.abs(event.deltaY) * 0.5) {
+            // Clone the event to dispatch it on the scroll container. Mark it as cloned so we don't get into a loop.
+            var newWheelEvent = new event.constructor(event.type, event);
+            newWheelEvent.__cloned = true;
+
+            this._scrollContainer.dispatchEvent(newWheelEvent);
</ins><span class="cx">             return;
</span><ins>+        }
</ins><span class="cx"> 
</span><span class="cx">         // Remember the mouse position in time.
</span><del>-        var mouseOffset = event.pageX - this._scrollContainer.totalOffsetLeft;
-        var scrollOffset = this._scrollContainer.scrollLeft;
-        var mousePositionTime = (scrollOffset + mouseOffset) * this.secondsPerPixel;
</del><ins>+        var mouseOffset = event.pageX - this._element.totalOffsetLeft;
+        var mousePositionTime = this._scrollStartTime + (mouseOffset * this._secondsPerPixel);
</ins><span class="cx">         var deviceDirection = event.webkitDirectionInvertedFromDevice ? 1 : -1;
</span><span class="cx"> 
</span><span class="cx">         this.secondsPerPixel += event.deltaY * (this._secondsPerPixel / WebInspector.TimelineOverview.ScrollDeltaDenominator) * deviceDirection;
</span><span class="cx"> 
</span><del>-        // Force layout so we can update the scroll position synchronously.
-        this.updateLayoutIfNeeded();
-
</del><span class="cx">         // Center the zoom around the mouse based on the remembered mouse position time.
</span><del>-        this._scrollContainer.scrollLeft = Math.max(0, Math.round((mousePositionTime / this.secondsPerPixel) - mouseOffset));
</del><ins>+        this.scrollStartTime = mousePositionTime - (mouseOffset * this._secondsPerPixel);
</ins><span class="cx"> 
</span><span class="cx">         event.preventDefault();
</span><span class="cx">         event.stopPropagation();
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceTimelineRulerjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/TimelineRuler.js (162416 => 162417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/TimelineRuler.js        2014-01-21 02:56:04 UTC (rev 162416)
+++ trunk/Source/WebInspectorUI/UserInterface/TimelineRuler.js        2014-01-21 02:56:10 UTC (rev 162417)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx"> WebInspector.TimelineRuler.SelectionHandleElementStyleClassName = &quot;selection-handle&quot;;
</span><span class="cx"> WebInspector.TimelineRuler.LeftSelectionElementStyleClassName = &quot;left&quot;;
</span><span class="cx"> WebInspector.TimelineRuler.RightSelectionElementStyleClassName = &quot;right&quot;;
</span><del>-WebInspector.TimelineRuler.MinimumSelectionTimeRange = 0.1;
</del><ins>+WebInspector.TimelineRuler.MinimumSelectionTimeRange = 0.01;
</ins><span class="cx"> 
</span><span class="cx"> WebInspector.TimelineRuler.Event = {
</span><span class="cx">     TimeRangeSelectionChanged: &quot;time-ruler-time-range-selection-changed&quot;
</span></span></pre>
</div>
</div>

</body>
</html>