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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-cloned-text-match.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-cloned-text-match.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/textarea-cloned-text-match.html b/third_party/WebKit/LayoutTests/fast/forms/textarea-cloned-text-match.html
deleted file mode 100644
index ee0555a89722ce5ba51a7f08b553a7a672558007..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/textarea-cloned-text-match.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<p>Testing cloneNode(true) on textarea element works correctly</p>
-<p>Before clone</p>
-<textarea name="" id="textarea1" cols="15" rows="2">InitialText</textarea>
-<textarea name="" id="textarea2" cols="15" rows="2">InitialText</textarea>
-<textarea name="" id="textarea3" cols="15" rows="2">InitialText</textarea>
-<p>After clone</p>
-<script>
-// cloning text
-var textarea1 = document.getElementById('textarea1');
-document.body.appendChild(textarea1.cloneNode(true));
-
-// User input
-var textarea2 = document.getElementById('textarea2');
-textarea2.focus();
-document.execCommand('InsertText', false, 'InsertedText ');
-document.body.appendChild(textarea2.cloneNode(true));
-textarea2.blur();
-
-// Updating IDL value
-var textarea3 = document.getElementById('textarea3');
-textarea3.value = "NewText";
-document.body.appendChild(textarea3.cloneNode(true));
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698