Index: third_party/WebKit/LayoutTests/fast/forms/select-namedItem.html |
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select-namedItem.html b/third_party/WebKit/LayoutTests/fast/forms/select-namedItem.html |
deleted file mode 100644 |
index d0fd23364868e9d745c479f9342117d111ee604a..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/forms/select-namedItem.html |
+++ /dev/null |
@@ -1,72 +0,0 @@ |
-<html> |
-<head> |
-<script> |
-function print(message, color) |
-{ |
- var paragraph = document.createElement("div"); |
- paragraph.appendChild(document.createTextNode(message)); |
- paragraph.style.fontFamily = "monospace"; |
- if (color) |
- paragraph.style.color = color; |
- document.getElementById("console").appendChild(paragraph); |
-} |
- |
-function test() |
-{ |
- |
- var selects = document.getElementsByTagName('select'); |
- for (var i = 0; i < selects.length; i++) { // > |
- try { |
- var item = document.getElementsByTagName('select')[i].namedItem('name1'); |
- if (item.innerHTML) |
- print("FOUND ITEM: " + item.innerHTML); |
- else |
- print("NO ITEM: namedItem returned" + item); |
- } catch (e) { |
- print("ERROR: " + e.message); |
- } |
- } |
- if (window.testRunner) |
- testRunner.dumpAsText(); |
-} |
-</script> |
-<title>Test for HTMLSelectElement.namedItem()</title> |
-</head> |
- |
-<body onload="test();"> |
- |
-<hr> |
-<div id='console'> |
-<H3>Test for HTMLSelectElement.namedItem()</H3> |
-</div> |
- |
-<div style="visibility: hidden"> |
- <select> |
- <option name="name1">1</option> |
- <option id="name1">2</option> |
- </select> |
- |
- <select> |
- <option id="name1">1</option> |
- <option name="name1">2</option> |
- </select> |
- |
- <select> |
- <option name="name1">1</option> |
- <option name="name1">2</option> |
- </select> |
- |
- <select> |
- <option id="name1">1</option> |
- <option id="name1">2</option> |
- </select> |
- |
- <select name="name1"> |
- <option id="name2">1</option> |
- <option id="name3">2</option> |
- </select> |
- |
-</div> |
- |
-</body> |
-</html> |