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> |