4 <script src=
"../resources/common.js"></script>
6 input::-webkit-calendar-picker-indicator,
7 input::-webkit-inner-spin-button {
13 <dd><input type=
"number" list=
"dl1">
15 <dd><input type=
"number" list=
"dl-empty">
16 <dt>Datalist without valid options:
17 <dd><input type=
"number" list=
"dl-invalid">
18 <dt>Empty datalist becomes non-empty:
19 <dd><input type=
"number" list=
"dl-empty-valid">
20 <dt>Datalist becomes empty:
21 <dd><input type=
"number" list=
"dl-valid-empty">
22 <dt>Datalist disappears:
23 <dd><input type=
"number" list=
"dl-disappear">
24 <dt>No datalist with the speicified ID:
25 <dd><input type=
"number" list=
"dl-no-id">
26 <dt>No datalist with the speicified ID, then it appears:
27 <dd><input type=
"number" list=
"dl-no-id-then-added">
33 <datalist id=
"dl-empty">
35 <datalist id=
"dl-invalid">
36 <option>Suggestion
</option>
38 <datalist id=
"dl-empty-valid">
40 <datalist id=
"dl-valid-empty">
43 <datalist id=
"dl-disappear">
46 <datalist id=
"dl-no-id-then-added-pre">
52 $('dl-empty-valid').innerHTML
= '<option>6</option>';
53 $('dl-valid-empty').innerHTML
= '';
54 $('dl-disappear').remove();
55 $('dl-no-id-then-added-pre').id
= 'dl-no-id-then-added';
56 document
.body
.offsetLeft
;
57 testRunner
.notifyDone();
60 window
.onload = function() {
61 document
.body
.offsetLeft
;
62 setTimeout(change
, 0);
64 testRunner
.waitUntilDone();