4 <script src=
"../../../resources/js-test.js"></script>
5 <script src=
"../../forms/resources/common.js"></script>
6 <script src=
"../../forms/resources/picker-common.js"></script>
7 <script src=
"resources/calendar-picker-common.js"></script>
10 <p id=
"description"></p>
11 <div id=
"console"></div>
12 <input type=date id=date
value=
"0002-02-02">
14 description('Check if year before 100 can be set.');
16 openPicker(document
.getElementById('date'), finishTest
);
18 function finishTest() {
19 var daysContainer
= popupWindow
.document
.getElementsByClassName("days-area")[0];
20 eventSender
.keyDown('rightArrow');
22 eventSender
.keyDown('\n');
23 shouldBeEqualToString('document.getElementById("date").value', '0002-02-03');