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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-linewrap-dynamic.html

Issue 1522803002: Move textarea-related tests to fast/forms/textarea/, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color-uaf
Patch Set: Created 5 years 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/fast/forms/textarea-linewrap-dynamic.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/textarea-linewrap-dynamic.html b/third_party/WebKit/LayoutTests/fast/forms/textarea-linewrap-dynamic.html
deleted file mode 100644
index 982b31dbf6c7faef678d8919e56f0e6794928223..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/textarea-linewrap-dynamic.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html>
-<body>
-<p>This tests that a textarea where the wrap attribute is removed reverts to normal wrapping behavior.</p>
-<form name="f" method="?" action="textarea-linewrap-dynamic.html">
-<textarea id="textarea" name="textarea" wrap="hard" cols="5">123456789</textarea>
-<input type="submit">
-</form>
-<script>
-if (document.URL.indexOf('?') == -1) {
- if (window.testRunner) {
- window.testRunner.dumpAsText();
- window.testRunner.waitUntilDone();
- }
- document.getElementById("textarea").removeAttribute("wrap");
- document.f.submit();
-} else {
- var formData = document.URL.substring(document.URL.indexOf('?') + 1, document.URL.length);
- if (formData == "textarea=123456789")
- document.write("Success");
- else
- document.write("Failure. The form data that should have been submitted: textarea=123456789<br>This is what was actually submitted: " + formData);
- if (window.testRunner)
- window.testRunner.notifyDone();
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698