blob: fe5f869968fbc8e162536c2058ed6103efda2bda [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
<style>
body {
text-rendering: optimizeLegibility;
}
select {
-webkit-appearance: none;
}
</style>
</head>
<body>
<select id="target">
<option>Click</option>
<option>Click</option>
</select>
<script>
description("This test makes sure that text-rendering: optimizeLegibility on a drop-down select element doesn't cause a hang.");
window.jsTestIsAsync = true;
const target = document.getElementById("target");
if (window.internals) {
internals.withUserGesture(function() {
target.click();
window.setTimeout(finishJSTest, 50);
});
} else
finishJSTest();
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>