blob: b1b522864a9f16dd5ee019b57f12798766094640 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../../resources/js-test.js"></script>
<script src="../resources/picker-common.js"></script>
<div id="parent"><input type="date" id="input"></div>
<script>
description('Calender picker should not open when the owner element has no focus.');
var input = document.getElementById('input');
input.focus();
input.remove();
input.offsetTop;
eventSender.keyDown("downArrow", ["altKey"]);
if (window.internals.pagePopupWindow) {
testFailed('Popup was opened.');
finishJSTest();
} else {
testPassed('Popup did not open.');
finishJSTest();
}
</script>
</body>
</html>