mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
20
tests/content/test_document_datalist_options.html
Normal file
20
tests/content/test_document_datalist_options.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<html>
|
||||
<head>
|
||||
<script src="harness.js"></script>
|
||||
</head>
|
||||
<datalist id="id">
|
||||
<option value="A">
|
||||
<option value="B">
|
||||
<p>P</p>
|
||||
<div>DIV</div>
|
||||
<option value="C">
|
||||
</datalist>
|
||||
<script>
|
||||
var datalist = document.getElementById("id");
|
||||
is(datalist.options.length, 3);
|
||||
is_a(datalist.options[0], HTMLOptionElement);
|
||||
is_a(datalist.options[1], HTMLOptionElement);
|
||||
is_a(datalist.options[2], HTMLOptionElement);
|
||||
finish();
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue