Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / ValidityState-stepMismatch.html
blob021c978b2a87c653dc2637e1e1eeff443cbd0b56
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 <p id="description"></p>
8 <div id="console"></div>
9 <script>
10 description('Check stepMismatch results for unsupported types.');
12 var input = document.createElement('input');
13 document.body.appendChild(input);
15 debug('Unsupported types');
16 shouldBe('input.type = "text"; input.step = "3"; input.min = ""; input.value = "2"; input.validity.stepMismatch', 'false');
17 shouldBe('input.type = "button"; input.validity.stepMismatch', 'false');
18 shouldBe('input.type = "checkbox"; input.validity.stepMismatch', 'false');
19 shouldBe('input.type = "color"; input.validity.stepMismatch', 'false');
20 shouldBe('input.type = "email"; input.validity.stepMismatch', 'false');
21 shouldBe('input.type = "hidden"; input.validity.stepMismatch', 'false');
22 shouldBe('input.type = "image"; input.validity.stepMismatch', 'false');
23 shouldBe('input.type = "khtml_isindex"; input.validity.stepMismatch', 'false');
24 shouldBe('input.type = "passwd"; input.validity.stepMismatch', 'false');
25 shouldBe('input.type = "radio"; input.validity.stepMismatch', 'false');
26 shouldBe('input.type = "reset"; input.validity.stepMismatch', 'false');
27 shouldBe('input.type = "search"; input.validity.stepMismatch', 'false');
28 shouldBe('input.type = "submit"; input.validity.stepMismatch', 'false');
29 shouldBe('input.type = "tel"; input.validity.stepMismatch', 'false');
30 shouldBe('input.type = "url"; input.validity.stepMismatch', 'false');
31 shouldBe('input.type = "file"; input.validity.stepMismatch', 'false');
32 </script>
33 </body>
34 </html>