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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/select/select-add-expected.txt
diff --git a/LayoutTests/fast/forms/select/select-add-expected.txt b/LayoutTests/fast/forms/select/select-add-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79c2c68730bf307e5cba604b51bf1b53aea3de69
--- /dev/null
+++ b/LayoutTests/fast/forms/select/select-add-expected.txt
@@ -0,0 +1,55 @@
+Test select.add() method
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Test select
+PASS select.length is 0
+PASS select.length is 1
+PASS select.options[0].value is "1"
+PASS select.length is 2
+PASS select.options[0].value is "2"
+PASS select.options[1].value is "1"
+PASS select.length is 3
+PASS select.options[0].value is "2"
+PASS select.options[1].value is "3"
+PASS select.options[2].value is "1"
+PASS select.length is 4
+PASS select.options[0].value is "2"
+PASS select.options[1].value is "3"
+PASS select.options[2].value is "4"
+PASS select.options[3].value is "1"
+PASS select.length is 6
+PASS select.options[0].value is "2"
+PASS select.options[1].value is "3"
+PASS select.options[2].value is "4"
+PASS select.options[3].value is "5"
+PASS select.options[4].value is "6"
+PASS select.options[5].value is "1"
+Test select multiple
+PASS select.length is 0
+PASS select.length is 1
+PASS select.options[0].value is "1"
+PASS select.length is 2
+PASS select.options[0].value is "2"
+PASS select.options[1].value is "1"
+PASS select.length is 3
+PASS select.options[0].value is "2"
+PASS select.options[1].value is "3"
+PASS select.options[2].value is "1"
+PASS select.length is 4
+PASS select.options[0].value is "2"
+PASS select.options[1].value is "3"
+PASS select.options[2].value is "4"
+PASS select.options[3].value is "1"
+PASS select.length is 6
+PASS select.options[0].value is "2"
+PASS select.options[1].value is "3"
+PASS select.options[2].value is "4"
+PASS select.options[3].value is "5"
+PASS select.options[4].value is "6"
+PASS select.options[5].value is "1"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698