Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / calendar-picker / calendar-picker-pre-100-year.html
blob9c0bda2ebfca8b99603326c51d1498209f1f844c
1 <!DOCTYPE html>
2 <html>
3 <head>
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>
8 </head>
9 <body>
10 <p id="description"></p>
11 <div id="console"></div>
12 <input type=date id=date value="0002-02-02">
13 <script>
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');
21 removeCommitDelay();
22 eventSender.keyDown('\n');
23 shouldBeEqualToString('document.getElementById("date").value', '0002-02-03');
24 finishJSTest();
26 </script>
27 </body>
28 </html>