Remove "Select All" time from visual page
The line `Time taken to Select All (should be <50ms):` was false
positives in image diff. To counter act that we now log the selection
time instead.
diff --git a/test/visual.html b/test/visual.html
index acfa902..a5918b5 100644
--- a/test/visual.html
+++ b/test/visual.html
@@ -161,8 +161,6 @@
<p id="selection-tests"><span class="mathquill-text-field different-bgcolor">lolwut $a^2 + b^2 = c^2$. $\sqrt{ \left( \frac{1}{2} \right) }$. Also, awesomesauce: $\int_0^1 \sin x dx.</span>
-<p>Time taken to Select All (should be <50ms): <span id="selection-performance"></span>
-
<p>Even in IE<9, the background color of the parens and square root radical should be the background color of the selection.
<h3>Dynamic mathquill-ification</h3>
@@ -331,7 +329,7 @@
$('#selection-tests .mathquill-text-field').each(function() {
var start = +new Date;
$('textarea', this).focus().trigger({type: 'keydown', ctrlKey: true, which: 65});
- $('#selection-performance').html(new Date - start);
+ console.log('Time taken to Select All (should be <50ms):',new Date - start);
});
});
};