Bug 1396136 part 1 - Make forms/input/number/focus-handling.html more robust. r=jwatt

MozReview-Commit-ID: DQTigOQkytq

--HG--
extra : rebase_source : 73d88b17a1d2d50b99c34404d5b7c0894af5c1f8
This commit is contained in:
Xidorn Quan 2017-09-05 13:48:59 +10:00
parent 1e1c59dfa4
commit c1e0a51a6f

View File

@ -9,7 +9,9 @@
<script>
function begin() {
document.getElementsByTagName('input')[1].focus();
setTimeout(function() {
document.getElementsByTagName('input')[1].focus();
}, 0);
}
function end() {