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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_in_contenteditable.html

Issue 2970773002: Convert editing/selection/3690719.html using assert_selection(). (Closed)
Patch Set: update Created 3 years, 5 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: third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_in_contenteditable.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_in_contenteditable.html b/third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_in_contenteditable.html
new file mode 100644
index 0000000000000000000000000000000000000000..f1f6d5b5833d7b1aea3723283d701247831c022a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_in_contenteditable.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../assert_selection.js"></script>
+<div id="log"></div>
+<script>
+test(() => {
+ assert_selection(
+ 'foo<div contenteditablele>|bar</div>baz',
+ 'selectAll',
+ '^foo<div contenteditablele>bar</div>baz|');
+}, '"Select All" when in an editable area selects the whole containing document');
+</script>

Powered by Google App Engine
This is Rietveld 408576698