summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/basic-inputs.html
blob: 5b32da58837465897450a02553203736e273a694 (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
<html>
<body style="width:470px">
<style>
div {
    border:1px solid red;
    margin:10px;
}
</style>

This tests basic inputs. Here's what you should see:
<br><br>
first line: the letter "a" and then a text input field filled with repeating "foobarbaz",  then the word "text" followed by a disabled text input field filled with "foo" and then the letter "b" and then "a"
<br><br>
second line: and then a password input field that's filled and then the word "password" and then a disabled password field that's filled
and then the letter "b"
<br><br>
third line: the letter "a" and then a checkbox (unchecked) with the word "checkbox" and then a disabled checkbox and letter "b"
<br><br>
fourth line: the last line has the letter "a" and then a redio button (unselected) and then the word "radio" and then a disabled radio button and the letter "b"
<br><br>

<div>
    a<input value="foobarbazfoobarbazfoobarbaz" type="text" />text
    <input value="foo" type="text" DISABLED />b
    a<input value="foo" type="password" />password
    <input value="foo" type="password" DISABLED />b
</div>

<div>
    a<input value="foo" type="checkbox" />checkbox
    <input value="foo" type="checkbox" DISABLED />b
</div>

<div>
    a<input value="foo" type="radio" />radio
    <input value="foo" type="radio" DISABLED />b
</div>

</body>
</html>