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

Unified Diff: LayoutTests/fast/dom/HTMLOptionElement/option-text.html

Issue 27030014: Remove Backslash-as-JPY hack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TextCodec/Encoding added Created 7 years, 2 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/dom/HTMLOptionElement/option-text.html
diff --git a/LayoutTests/fast/dom/HTMLOptionElement/option-text.html b/LayoutTests/fast/dom/HTMLOptionElement/option-text.html
deleted file mode 100644
index 2e621d6ef69d145ca23d8f3a85745611018a65a2..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/HTMLOptionElement/option-text.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
- <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=EUC-JP">
- <script>
- if (window.testRunner)
- testRunner.dumpAsText();
- </script>
-</head>
-<body>
- <p>
- Test for the <code>text</code> attribute of <code>HTMLOptionElement</code>.
- To match other browsers, the attribute value is the text as displayed
- in the list box or popup, rather than strictly &ldquo;the text contained within the option element&rdquo;
- as <a href="http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-48154426">specified</a>.
- </p>
- <select multiple>
- <option id="o1">foo </option>
- <option id="o2"> foo</option>
- <option id="o3">\</option>
- <option id="o4">foo bar</option>
- <option id="o5" label=" label ">ignored</option>
- </select>
- <pre id="console"></pre>
- <script>
- function log(message)
- {
- document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
- }
-
- function test(id, expect)
- {
- var text = document.getElementById(id).text;
- if (text == expect)
- log("PASS: got \"" + expect + "\" as expected.");
- else
- log("FAIL: expected \"" + expect + "\" but got \"" + text + "\" instead.");
- }
-
- test("o1", "foo");
- test("o2", "foo");
- test("o3", "\u00a5");
- test("o4", "foo bar");
- test("o5", "label");
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698