4 <input id=
"emptyOnFirstVisit">
5 <form action=
"data:text/html,<script>history.back()</script>" id=form1
>
6 <input type=
"datetime-local" id=input1
>
7 <input type=
"datetime-local" id=input2
>
8 <input type=
"datetime-local" id=input3
value=
"2001-01-01T01:01:01.001">
12 // Restoring the form should update the clear button visibility.
13 testRunner
.waitUntilDone();
16 var state
= document
.getElementById('emptyOnFirstVisit');
19 setTimeout(function() {
20 state
.value
= 'visited';
21 document
.getElementById('input2').value
= "2002-02-02T02:02";
22 document
.getElementById('input3').value
= "2003-03-03T03:03:03.003";
23 document
.getElementById('form1').submit();
26 testRunner
.notifyDone();
30 window
.onload
= runTest
;