blob: 867cea846dd69dd2789631743d7c916e582bde9a [file] [log] [blame]
<!DOCTYPE html>
<body>
<p>This test passes if it shows an input field with a datalist dropdown button (on platforms that show a dropdown button by default).</p>
<script>
const input = document.createElement("input");
input.setAttribute("list", "datalist");
const datalist = document.createElement("datalist");
datalist.setAttribute("id", "datalist");
document.body.appendChild(datalist);
document.body.appendChild(input);
</script>
</body>