mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision d7afcb8708eac08a614d161d5622a48172daf7e3
This commit is contained in:
parent
6f8bb4dd40
commit
edff458e23
791 changed files with 17647 additions and 10322 deletions
|
@ -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>
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue