Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: LayoutTests/fast/forms/select/select-add-expected.txt

Issue 213773003: select.add() should support optgroup adding and before index (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test select.add() method
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Test select
7 PASS select.length is 0
8 PASS select.length is 1
9 PASS select.options[0].value is "1"
10 PASS select.length is 2
11 PASS select.options[0].value is "2"
12 PASS select.options[1].value is "1"
13 PASS select.length is 3
14 PASS select.options[0].value is "2"
15 PASS select.options[1].value is "3"
16 PASS select.options[2].value is "1"
17 PASS select.length is 4
18 PASS select.options[0].value is "2"
19 PASS select.options[1].value is "3"
20 PASS select.options[2].value is "4"
21 PASS select.options[3].value is "1"
22 PASS select.length is 6
23 PASS select.options[0].value is "2"
24 PASS select.options[1].value is "3"
25 PASS select.options[2].value is "4"
26 PASS select.options[3].value is "5"
27 PASS select.options[4].value is "6"
28 PASS select.options[5].value is "1"
29 Test select multiple
30 PASS select.length is 0
31 PASS select.length is 1
32 PASS select.options[0].value is "1"
33 PASS select.length is 2
34 PASS select.options[0].value is "2"
35 PASS select.options[1].value is "1"
36 PASS select.length is 3
37 PASS select.options[0].value is "2"
38 PASS select.options[1].value is "3"
39 PASS select.options[2].value is "1"
40 PASS select.length is 4
41 PASS select.options[0].value is "2"
42 PASS select.options[1].value is "3"
43 PASS select.options[2].value is "4"
44 PASS select.options[3].value is "1"
45 PASS select.length is 6
46 PASS select.options[0].value is "2"
47 PASS select.options[1].value is "3"
48 PASS select.options[2].value is "4"
49 PASS select.options[3].value is "5"
50 PASS select.options[4].value is "6"
51 PASS select.options[5].value is "1"
52 PASS successfullyParsed is true
53
54 TEST COMPLETE
55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698