summaryrefslogtreecommitdiffstats
path: root/testing/marionette/harness/marionette_harness/www/formPage.html
blob: 43fde32431f14672dc2accc6c5f7b62bec0a2606 (plain)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<html>
<head>
    <title>We Leave From Here</title>

    <script type="text/javascript">
        function changePage() {
            let newLocation = '/common/page/3';
            window.location = newLocation;
        }
    </script>
</head>
<body>
There should be a form here:

<form method="get" action="resultPage.html" name="login">
    <input type="email" id="email"/>
    <input type="submit" id="submitButton" value="Hello there"/>
</form>

<form method="get" action="resultPage.html" name="optional" style="display: block">
    Here's a checkbox:
    <input type="checkbox" id="checky" name="checky" value="furrfu"/>
    <input type="checkbox" id="checkedchecky" name="checkedchecky" checked="checked" />
    <input type="checkbox" id="disabledchecky" disabled="disabled" name="disabledchecky" />
    <input type="checkbox" id="randomly_disabled_checky" disabled="somerandomstring" checked="checked" name="randomlydisabledchecky" />
    <br/>
    <select name="selectomatic">
        <option selected="selected" id="non_multi_option" value="one">One</option>
        <option value="two">Two</option>
        <option value="four">Four</option>
        <option value="still learning how to count, apparently">Still learning how to count, apparently</option>
    </select>

    <select name="multi" id="multi" multiple="multiple">
        <option selected="selected" value="eggs">Eggs</option>
        <option value="ham">Ham</option>
        <option selected="selected" value="sausages">Sausages</option>
        <option value="onion gravy">Onion gravy</option>
    </select>

    <select name="no-select" disabled="disabled">
      <option value="foo">Foo</option>
    </select>

		<select name="select_empty_multiple" multiple>
			<option id="multi_1" value="select_1">select_1</option>
			<option id="multi_2" value="select_2">select_2</option>
			<option id="multi_3" value="select_3">select_3</option>
			<option id="multi_4" value="select_4">select_4</option>
		</select>

		<select name="multi_true" multiple="true">
			<option id="multi_true_1" value="select_1">select_1</option>
			<option id="multi_true_2" value="select_2">select_2</option>
		</select>

		<select name="multi_false" multiple="false">
			<option id="multi_false_1" value="select_1">select_1</option>
			<option id="multi_false_2" value="select_2">select_2</option>
		</select>

    <select id="invisi_select" style="opacity:0;">
      <option selected value="apples">Apples</option>
      <option value="oranges">Oranges</option>
    </select>

    <select name="select-default">
        <option>One</option>
        <option>Two</option>
        <option>Four</option>
        <option>Still learning how to count, apparently</option>
    </select>

    <select name="select_with_spaces">
        <option>One</option>
        <option>  Two  </option>
        <option>
          Four
        </option>
        <option>
          Still learning   how to count,
          apparently
        </option>
    </select>

    <select>
    	<option id="blankOption"></option>
    	<option id="optionEmptyValueSet" value="">nothing</option>
    </select>

    <br/>

    <input type="radio" id="cheese" name="snack" value="cheese"/>Cheese<br/>
    <input type="radio" id="peas" name="snack" value="peas"/>Peas<br/>
    <input type="radio" id="cheese_and_peas" name="snack" value="cheese and peas" checked/>Cheese and peas<br/>
    <input type="radio" id="nothing" name="snack" value="nowt" disabled="disabled"/>Not a sausage<br/>
    <input type="radio" id="randomly_disabled_nothing" name="snack" value="funny nowt" disabled="somedisablingstring"/>Not another sausage

    <input type="hidden" name="hidden" value="fromage" />

    <p id="cheeseLiker">I like cheese</p>
    <input type="submit" value="Click!"/>

    <input type="radio" id="lone_disabled_selected_radio" name="not_a_snack" value="cumberland" checked="checked" disabled="disabled" />Cumberland sausage
</form>

<form method="get" action="formPage.html">
  <p>
    <label for="checkbox-with-label" id="label-for-checkbox-with-label">Label</label><input type="checkbox" id="checkbox-with-label" />
  </p>
</form>
<input id="vsearchGadget" name="SearchableText" type="text" size="18" value="" title="Hvad søger du?" accesskey="4" class="inputLabel" />
</body>
</html>