Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/forms/the-input-element/time-datalist-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="newParent"></div>
<datalist id="suggestions">
<option>12:00</option>
<input type="time" list="suggestions">
</datalist>
<script>
test(() => {
document.body.offsetTop;
newParent.appendChild(suggestions);
}, "Moving a datalist enclosing an input type=time using that list should not crash.");
</script>