Update web-platform-tests to revision d7afcb8708eac08a614d161d5622a48172daf7e3

This commit is contained in:
WPT Sync Bot 2019-05-15 10:40:54 -04:00 committed by Josh Matthews
parent 6f8bb4dd40
commit edff458e23
791 changed files with 17647 additions and 10322 deletions

View file

@ -0,0 +1,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>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<link rel="help" href="https://html.spec.whatwg.org/multipage/input.html#input-type-change">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<input id="myInput" type="file">
<script>
test(() => {
myInput.offsetTop;
myInput.type = "text";
}, "Changing type from file to text should not crash.");
</script>