<script src="../../../resources/js-test.js"></script>
<script>
jsTestIsAsync = true;
var target;
function handleTargetFocus() {
target.type = 'text';
}
function handleTargetBlur() {
target.addEventListener('DOMFocusIn', handleTargetFocus);
target.focus();
}
function startTest() {
target = document.querySelector('input');
target.focus();
target.blur();
target.type = 'text';
testPassed('if no asssertion failure.');
finishJSTest();
}
</script>
<body onload="startTest()">
<input type="time" onblur="handleTargetBlur()">
</body>