1 | <!DOCTYPE HTML> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <meta http-equiv="content-type" content="text/html; charset=utf-8"/> |
---|
5 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" /> |
---|
6 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
---|
7 | <title>ScrollableView-HTML-inputs</title> |
---|
8 | <!-- Test case particularly for #17036 --> |
---|
9 | |
---|
10 | <script type="text/javascript" src="../../../dojox/mobile/deviceTheme.js"></script> |
---|
11 | <script type="text/javascript" src="../../../dojo/dojo.js" |
---|
12 | data-dojo-config="async: true, parseOnLoad: true"></script> |
---|
13 | <script language="JavaScript" type="text/javascript"> |
---|
14 | require([ |
---|
15 | "dojox/mobile", |
---|
16 | "dojox/mobile/ScrollableView", |
---|
17 | "dojox/mobile/parser" |
---|
18 | ]); |
---|
19 | </script> |
---|
20 | </head> |
---|
21 | <body style="visibility:hidden;"> |
---|
22 | <div id="view" data-dojo-type="dojox/mobile/ScrollableView"> |
---|
23 | <div style="background-color: white; width: 100%;"> |
---|
24 | Text: <input type="text" size="40" maxlength="40" |
---|
25 | value="click to select and then scroll the view" |
---|
26 | onchange="alert('test failed !');" onkeypress="alert('test failed !');" |
---|
27 | onkeydown="alert('test failed !');" onkeyup="alert('test failed !');"> |
---|
28 | </div> |
---|
29 | <div style="background-color: white; width: 100%;"> |
---|
30 | Password: <input type="password"> |
---|
31 | </div> |
---|
32 | <div style="background-color: white; width: 100%;"> |
---|
33 | Button: <input type="button" value="Click"> |
---|
34 | </div> |
---|
35 | <div style="background-color: white; width: 100%;"> |
---|
36 | Checkbox: <input type="checkbox"> |
---|
37 | </div> |
---|
38 | <div style="background-color: white; width: 100%;"> |
---|
39 | Color: <input type="color"> |
---|
40 | </div> |
---|
41 | <div style="background-color: white; width: 100%;"> |
---|
42 | Date: <input type="date"> |
---|
43 | </div> |
---|
44 | <div style="background-color: white; width: 100%;"> |
---|
45 | Datetime: <input type="datetime"> |
---|
46 | </div> |
---|
47 | <div style="background-color: white; width: 100%;"> |
---|
48 | Datetime local: <input type="datetime-local"> |
---|
49 | </div> |
---|
50 | <div style="background-color: white; width: 100%;"> |
---|
51 | Email: <input type="email"> |
---|
52 | </div> |
---|
53 | <div style="background-color: white; width: 100%;"> |
---|
54 | File: <input type="file"> |
---|
55 | </div> |
---|
56 | <div style="background-color: white; width: 100%;"> |
---|
57 | Image: <input type="image"> |
---|
58 | </div> |
---|
59 | <div style="background-color: white; width: 100%;"> |
---|
60 | Month: <input type="month"> |
---|
61 | </div> |
---|
62 | <div style="background-color: white; width: 100%;"> |
---|
63 | Number: <input type="number"> |
---|
64 | </div> |
---|
65 | <div style="background-color: white; width: 100%;"> |
---|
66 | Radio: <input type="radio"> |
---|
67 | </div> |
---|
68 | <div style="background-color: white; width: 100%;"> |
---|
69 | Range: <input type="range"> |
---|
70 | </div> |
---|
71 | <div style="background-color: white; width: 100%;"> |
---|
72 | Reset: <input type="reset"> |
---|
73 | </div> |
---|
74 | <div style="background-color: white; width: 100%;"> |
---|
75 | Search: <input type="search"> |
---|
76 | </div> |
---|
77 | <div style="background-color: white; width: 100%;"> |
---|
78 | Submit: <input type="submit"> |
---|
79 | </div> |
---|
80 | <div style="background-color: white; width: 100%;"> |
---|
81 | Tel: <input type="tel"> |
---|
82 | </div> |
---|
83 | <div style="background-color: white; width: 100%;"> |
---|
84 | Time: <input type="time"> |
---|
85 | </div> |
---|
86 | <div style="background-color: white; width: 100%;"> |
---|
87 | Url: <input type="url"> |
---|
88 | </div> |
---|
89 | <div style="background-color: white; width: 100%;"> |
---|
90 | Week: <input type="week" max="2012-W01"> |
---|
91 | </div> |
---|
92 | <div style="background-color: white; width: 100%;"> |
---|
93 | <textarea cols="40" maxlength="40" placeholder="click to select and then scroll the view" |
---|
94 | onchange="alert('test failed !');" onkeypress="alert('test failed !');" |
---|
95 | onkeydown="alert('test failed !');" onkeyup="alert('test failed !');"> |
---|
96 | </textarea> |
---|
97 | </div> |
---|
98 | </div> |
---|
99 | </body> |
---|
100 | </html> |
---|