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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-option-element/option-label-value.js

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-option-element/option-label-value.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-option-element/option-label-value.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-option-element/option-label-value.js
deleted file mode 100644
index 5c453f1733e37078e088c03be1b29191e2fecd5d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-option-element/option-label-value.js
+++ /dev/null
@@ -1,82 +0,0 @@
-function test_option(member) {
- test(function() {
- var option = document.createElement("option");
- assert_equals(option[member], "");
- }, "No children, no " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.setAttribute(member, "")
- assert_equals(option[member], "");
- }, "No children, empty " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.setAttribute(member, member)
- assert_equals(option[member], member);
- }, "No children, " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.setAttributeNS("http://www.example.com/", member, member)
- assert_equals(option[member], "");
- }, "No children, namespaced " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.appendChild(document.createTextNode(" child "));
- assert_equals(option[member], "child");
- }, "Single child, no " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.appendChild(document.createTextNode(" child "));
- option.setAttribute(member, "")
- assert_equals(option[member], "");
- }, "Single child, empty " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.appendChild(document.createTextNode(" child "));
- option.setAttribute(member, member)
- assert_equals(option[member], member);
- }, "Single child, " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.appendChild(document.createTextNode(" child "));
- option.setAttributeNS("http://www.example.com/", member, member)
- assert_equals(option[member], "child");
- }, "Single child, namespaced " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.appendChild(document.createTextNode(" child "));
- option.appendChild(document.createTextNode(" node "));
- assert_equals(option[member], "child node");
- }, "Two children, no " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.appendChild(document.createTextNode(" child "));
- option.appendChild(document.createTextNode(" node "));
- option.setAttribute(member, "")
- assert_equals(option[member], "");
- }, "Two children, empty " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.appendChild(document.createTextNode(" child "));
- option.appendChild(document.createTextNode(" node "));
- option.setAttribute(member, member)
- assert_equals(option[member], member);
- }, "Two children, " + member);
-
- test(function() {
- var option = document.createElement("option");
- option.appendChild(document.createTextNode(" child "));
- option.appendChild(document.createTextNode(" node "));
- option.setAttributeNS("http://www.example.com/", member, member)
- assert_equals(option[member], "child node");
- }, "Two children, namespaced " + member);
-}

Powered by Google App Engine
This is Rietveld 408576698