Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / input-step-as-double.html
blob19cd4d630b407a0405669f468b22691b674fcfa1
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description('Test for a capturing spec change to consider .2 as valid real number for step');
10 var parent = document.createElement('div');
11 document.body.appendChild(parent);
12 parent.innerHTML = '<input type=number id=number value=0 step=".5">';
13 var numberInput = document.getElementById('number');
14 numberInput.focus();
16 if (window.eventSender) {
17 // Move the cursor on the upper button of the input field.
18 eventSender.mouseMoveTo(numberInput.offsetLeft + numberInput.offsetWidth - 10, numberInput.offsetTop + numberInput.offsetHeight / 4);
20 eventSender.mouseDown();
21 eventSender.mouseUp();
22 shouldBe('numberInput.value', '"0.5"');
24 parent.innerHTML = '';
25 } else {
26 document.getElementById('console').innerHTML = '<p>No eventSender. <p>Manual test instruction: Click the upper button of the input field. Confirm that the input field value is 0.5';
29 </script>
30 </body>
31 </html>