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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/5497643.html

Issue 2441363002: Convert editing/selection/5497643.html to use assert_selection() (Closed)
Patch Set: 2016-10-24T18:04:56 Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/after-removing-textarea.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/selection/5497643.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/5497643.html b/third_party/WebKit/LayoutTests/editing/selection/5497643.html
deleted file mode 100644
index a2b3d01cc3ca8c01b9b5d25ae74f958c4db8ee4b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/selection/5497643.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<p>This tests to make sure that a selection inside a textarea is updated when the textarea is removed from the document.</p>
-<textarea id="textarea"></textarea>
-<div id="log"></div>
-<script>
-textarea = document.getElementById("textarea");
-textarea.setSelectionRange(0, 0);
-textarea.focus();
-textarea.parentNode.removeChild(textarea);
-test(function() {
- assert_equals(window.getSelection().type, 'Caret');
- assert_equals(window.getSelection().getRangeAt(0).startContainer, document.body);
- assert_equals(window.getSelection().getRangeAt(0).startOffset, 2);
-});
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/after-removing-textarea.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698