File: forms.html

package info (click to toggle)
html2canvas 0.5.0~beta4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 920 kB
  • ctags: 416
  • sloc: makefile: 52
file content (81 lines) | stat: -rw-r--r-- 3,532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
    <head>
        <title>Form tests</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="../test.js"></script>
        <style>
            input[type="radio"], input[type="checkbox"] {
                margin: 10px;
                display: inline-block;
            }
        </style>

    </head>
    <body>
        <input type="hidden" value="THIS SHOULD NOT BE VISIBLE!" />
        <input type="text" value="textbox" />
        <input type="password" value="textbox" />
        <input type="text" value="textbox" style="border:5px solid navy;" />
        <input type="text" value="textbox" style="border:5px solid navy;height:40px;" />

        <input type="text" value="textbox" style="border:5px solid navy;height:40px;padding:10px;" />

        <input type="text" value="textbox" style="padding:10px;" />
        <input type="text" value="textbox" style="padding:10px;text-align:right;" />
        <hr />
        <select>
            <option value="1">Value 1</option>
            <option value="2">Value 2</option>
            <option value="3">Value 3</option>
        </select>
        <select>

        </select>
        <select>
            <option value="">2</option>
        </select>


        <select>
            <option value="1">Value 1</option>
            <option value="2" selected>Value 2 with something else</option>
            <option value="3">Value 3</option>
        </select>
        <hr />
        <input type="submit" value="Submit" />
        <input type="Button" value="Button" />
        <input type="Reset" value="Reset" />


        <input type="submit" value="Submit" style="width:200px;" />
        <input type="Button" value="Button" style="width:200px;height:50px;"  />
        <input type="Reset" value="Reset" style="width:200px;height:50px;text-align:left;"  />

        <hr />

        <textarea>  </textarea>
        <textarea style="border-width:10px;"></textarea>

                <textarea> text </textarea>
        <textarea style="border-width:10px;">text</textarea>
        <hr />
        <input type="radio" value="radio1" />
        <input type="radio" value="radio2" style="transform:scale(3)" />
        <input type="RADIO" value="radio3" checked />
        <input type="radio" value="radio4" style="transform:scale(3)" checked />
        <input type="radio" value="radio5" style="transform:scale(3); background: red;" />
        <input type="radio" value="radio6" style="width: 200px;" />
        <input type="radio" value="radio6" style="width: 200px; height: 200px;" />
        <input type="radio" value="radio6" style="width: 200px; height: 200px;" checked />
        <input type="checkbox" value="checkbox1" />
        <input type="chECKbox" value="checkbox2" style="transform:scale(3)" />
        <input type="checkbox" value="checkbox3" checked />
        <input type="checkbox" value="checkbox4" style="transform:scale(3)" checked />
        <input type="checkbox" value="checkbox5" style="transform:scale(3); background: red;" />
        <input type="checkbox" value="checkbox6" style="width: 200px;" />
        <input type="checkbox" value="checkbox6" style="width: 200px; height: 200px;" />
        <input type="checkbox" value="checkbox6" style="width: 200px; height: 200px;" checked />
        <div style="position: absolute; width: 10px; height: 10px; border:1px solid rgb(165,165,165); border-radius: 3px; background: rgb(222,222,222)"></div>
    </body>
</html>