summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorjaphet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 22:48:26 +0000
committerjaphet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 22:48:26 +0000
commit9b589bf57e93b5e340b6fa4f27e9aa5d00230dba (patch)
treea357b5c9bf98f6eade6ba530c30a91211ce60aaa /webkit
parentb4911ec38089ef090010c6e92e851690893dcf6b (diff)
downloadchromium_src-9b589bf57e93b5e340b6fa4f27e9aa5d00230dba.zip
chromium_src-9b589bf57e93b5e340b6fa4f27e9aa5d00230dba.tar.gz
chromium_src-9b589bf57e93b5e340b6fa4f27e9aa5d00230dba.tar.bz2
Rebaseline fast/dom/HTMLSelectElement/named-options.html. The upstream expectations include failures, and we pass everything
BUG=10859 BUG=10861 TEST=green layout bots Review URL: http://codereview.chromium.org/231009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27271 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt24
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt24
-rwxr-xr-xwebkit/tools/layout_tests/test_expectations.txt5
3 files changed, 48 insertions, 5 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt
new file mode 100644
index 0000000..7fa84cb
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt
@@ -0,0 +1,24 @@
+This tests that options elements are accessible by name from both a select element and the options collection, per HTML5.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Confirm that the option named 'test' is accessible from the select element
+PASS select1.test.toString() is "[object HTMLOptionElement]"
+PASS select1.test.value is "Value"
+Confirm that the option named 'test' is accessible from the options collection
+PASS select1.options.test.toString() is "[object HTMLOptionElement]"
+PASS select1.options.test.value is "Value"
+Confirm that both options named 'test' are accessible from the select element
+PASS select2.test.length is 2
+PASS select2.test.toString() is "[object NodeList]"
+PASS select2.test[0].value is "Value1"
+PASS select2.test[1].value is "Value2"
+Confirm that both options named 'test' are accessible from the options collection
+PASS select2.options.test.length is 2
+PASS select2.options.test.toString() is "[object NodeList]"
+PASS select2.options.test[0].value is "Value1"
+PASS select2.options.test[1].value is "Value2"
+PASS successfullyParsed is true
+
+TEST COMPLETE
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt
new file mode 100644
index 0000000..7fa84cb
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt
@@ -0,0 +1,24 @@
+This tests that options elements are accessible by name from both a select element and the options collection, per HTML5.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Confirm that the option named 'test' is accessible from the select element
+PASS select1.test.toString() is "[object HTMLOptionElement]"
+PASS select1.test.value is "Value"
+Confirm that the option named 'test' is accessible from the options collection
+PASS select1.options.test.toString() is "[object HTMLOptionElement]"
+PASS select1.options.test.value is "Value"
+Confirm that both options named 'test' are accessible from the select element
+PASS select2.test.length is 2
+PASS select2.test.toString() is "[object NodeList]"
+PASS select2.test[0].value is "Value1"
+PASS select2.test[1].value is "Value2"
+Confirm that both options named 'test' are accessible from the options collection
+PASS select2.options.test.length is 2
+PASS select2.options.test.toString() is "[object NodeList]"
+PASS select2.options.test[0].value is "Value1"
+PASS select2.options.test[1].value is "Value2"
+PASS successfullyParsed is true
+
+TEST COMPLETE
diff --git a/webkit/tools/layout_tests/test_expectations.txt b/webkit/tools/layout_tests/test_expectations.txt
index 8d34663..29f0596 100755
--- a/webkit/tools/layout_tests/test_expectations.txt
+++ b/webkit/tools/layout_tests/test_expectations.txt
@@ -1853,11 +1853,6 @@ BUG10760 MAC : LayoutTests/svg/custom/marker-overflow-clip.svg = FAIL
BUG10760 LINUX : LayoutTests/svg/custom/marker-child-changes.svg = PASS FAIL
BUG10760 LINUX MAC : LayoutTests/svg/custom/marker-viewBox-changes.svg = PASS FAIL
-// Needs investigation, perhaps just needs to be re-baselined on all
-// platforms.
-BUG10859 LINUX MAC : LayoutTests/fast/dom/HTMLSelectElement/named-options.html = FAIL
-BUG10861 WIN : LayoutTests/fast/dom/HTMLSelectElement/named-options.html = FAIL
-
// New failures from WebKit Merge 42671:42725
BUG10861 WIN : LayoutTests/http/tests/plugins/post-url-file.html = PASS
BUG10861 MAC : LayoutTests/http/tests/plugins/post-url-file.html = TIMEOUT