blob: 7c1621b94d23bab30e2964f4ff84b387cc10aca2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script src="../../../resources/ui-helper.js"></script>
</head>
<body>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
async function runTest() {
if (!testRunner.runUIScript)
return;
var input = document.getElementById('colorInput');
await UIHelper.activateElementAndWaitForInputSession(input);
document.getElementById('result').innerHTML = 'PASS: Test did not crash';
testRunner.notifyDone();
}
window.addEventListener('load', runTest, false);
</script>
<div>Touching the color input form should not crash.</div>
<input id = 'colorInput' type = "color" value = "#00FF00" style = "font-size:18px">
<div id = 'result'></div>
</body>
</html>