Even more precise positionning of navigation timings in timeline

This commit is contained in:
Gaël Métais
2014-10-28 16:27:02 +01:00
parent ecef623cde
commit 39a9c04449
3 changed files with 8 additions and 10 deletions
+1 -10
View File
@@ -840,16 +840,7 @@
<span ng-if="node.data.time > slowRequestsLimit" class="icon-warning" title="Slower than {{slowRequestsLimit}} ms"></span>
</div>
<div class="duration" ng-if="node.data.time == undefined"></div>
<div class="startTime" ng-class="{
domCreation: node.data.timestamp < phantomasResults.metrics.domInteractive,
domInteractive: node.data.timestamp >= phantomasResults.metrics.domInteractive
&& node.data.timestamp < phantomasResults.metrics.domContentLoaded,
domContentLoaded: node.data.timestamp >= phantomasResults.metrics.domContentLoaded
&& node.data.timestamp < phantomasResults.metrics.domContentLoadedEnd,
domContentLoadedEnd: node.data.timestamp >= phantomasResults.metrics.domContentLoadedEnd
&& node.data.timestamp < phantomasResults.metrics.domComplete,
domComplete: node.data.timestamp >= phantomasResults.metrics.domComplete
}">{{node.data.timestamp | number: 0}}</div>
<div class="startTime" ng-class="node.data.loadingStep">{{node.data.timestamp | number: 0}}</div>
</div>
</div>
</div>