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

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

Issue 2280473004: Convert editing/deleting/delete-at-paragraph-boundaries-008.html to use w3c test harness (Closed)
Patch Set: 2016-08-25T13:47:54 Created 4 years, 4 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/deleting/delete_at_paragraph_boundaries.html
diff --git a/third_party/WebKit/LayoutTests/editing/deleting/delete_at_paragraph_boundaries.html b/third_party/WebKit/LayoutTests/editing/deleting/delete_at_paragraph_boundaries.html
index c2fe5741da7e7a879bb87ee1fcf725c2872b7f29..4bd4b6c7b3ea1f47b80a0204c517ba004be57aa8 100644
--- a/third_party/WebKit/LayoutTests/editing/deleting/delete_at_paragraph_boundaries.html
+++ b/third_party/WebKit/LayoutTests/editing/deleting/delete_at_paragraph_boundaries.html
@@ -118,4 +118,23 @@
'</div>',
].join('')),
'Deleting when a selection starts at the beginning of a paragraph preceded by another block and extends into the middle of a following paragraph.');
+
+
+ test(() => assert_selection(
+ [
+ '<div contenteditable>',
+ '<div>',
+ 'one<p>two</p><p>three</p><p>fo^ur|</p>',
+ '</div>',
+ '</div>',
+ ].join(''),
+ 'delete',
+ [
+ '<div contenteditable>',
+ '<div>',
+ 'one<p>two</p><p>three</p><p>fo|</p>',
+ '</div>',
+ '</div>',
+ ].join('')),
+ 'Deleting when a selection starts in the middle of the last paragraph and extends to the end of that paragraph');
</script>

Powered by Google App Engine
This is Rietveld 408576698