blob: 2964032e35283ef4cae28af2b736fa9ba3924260 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-input-element">
<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>
|