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

Unified Diff: third_party/WebKit/LayoutTests/editing/deleting/merge_into_empty_block.html

Issue 2451983002: Convert editing/deleting/merge-into-empty-block-[12].html to utilize w3c test harness (Closed)
Patch Set: 2016-10-26T14:01:59 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 | « third_party/WebKit/LayoutTests/editing/deleting/merge-into-empty-block-2-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/deleting/merge_into_empty_block.html
diff --git a/third_party/WebKit/LayoutTests/editing/deleting/merge_into_empty_block.html b/third_party/WebKit/LayoutTests/editing/deleting/merge_into_empty_block.html
new file mode 100644
index 0000000000000000000000000000000000000000..865c0c66cc278701677d94daa6f7a9b66c1d4dd2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/deleting/merge_into_empty_block.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../assert_selection.js"></script>
+<script>
+test(() => assert_selection(
+ '<div contenteditable><div><br></div><blockquote>|foo</blockquote></div>',
+ 'delete',
+ '<div contenteditable><blockquote>|foo</blockquote></div>'),
+ 'Hit backspace at beginning of BLOCKQUOTE');
+
+test(() => assert_selection(
+ '<div contenteditable><div><br></div><ul><li>|foo</li></ul></div>',
+ 'delete',
+ '<div contenteditable><ul><li>|foo</li></ul></div>'),
+ 'Hit backspace at beginning of LI');
+</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/deleting/merge-into-empty-block-2-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698