4 This tests the behavior of a cancel button in search input forms.
7 Test on the input form with disabled=false and readonly=false
8 Click the cancel button:
10 ... and then input one character:
11 PASS input.value is "b"
12 Click the center of the form:
13 PASS input.value is "foo"
14 ... and then input one character:
15 PASS input.value is "foob"
17 Test on the input form with disabled=false and readonly=true
18 Click the cancel button:
19 PASS input.value is "foo"
20 ... and then input one character:
21 PASS input.value is "foo"
22 Click the center of the form:
23 PASS input.value is "foo"
24 ... and then input one character:
25 PASS input.value is "foo"
27 Test on the input form with disabled=true and readonly=false
28 Click the cancel button:
29 PASS input.value is "foo"
30 ... and then input one character:
31 PASS input.value is "foo"
32 Click the center of the form:
33 PASS input.value is "foo"
34 ... and then input one character:
35 PASS input.value is "foo"
37 Test on the input form with disabled=true and readonly=true
38 Click the cancel button:
39 PASS input.value is "foo"
40 ... and then input one character:
41 PASS input.value is "foo"
42 Click the center of the form:
43 PASS input.value is "foo"
44 ... and then input one character:
45 PASS input.value is "foo"
47 PASS successfullyParsed is true