Index: LayoutTests/editing/deleting/delete-inline-br.html |
diff --git a/LayoutTests/editing/deleting/delete-inline-br.html b/LayoutTests/editing/deleting/delete-inline-br.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a5a664b4ecc15ec9d8dfa4740988c436917e18f |
--- /dev/null |
+++ b/LayoutTests/editing/deleting/delete-inline-br.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+div { border: 1px solid black; } |
+</style> |
+<script src="../editing.js" ></script> |
+<script> |
+function editingTest() { |
+ for (i = 0; i < 7; i++) { |
+ moveSelectionForwardByCharacterCommand(); |
+ } |
+ deleteCommand(); |
+} |
+</script> |
+<body> |
+<p>Testcase for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=120006">120006</a>: <br> does not get deleted when inlined after non-textual content. To manually verify the issue, place the caret at the start of the second line and then press the backspace button. This should merge the two lines and "text2" should get placed after the text control.</p> |
+<div id="root" contenteditable="true"> |
+<span id="test">text1<input type="text"/><br>text2</span> |
+</div> |
+<script> |
+runEditingTest(); |
leviw_travelin_and_unemployed
2013/08/19 18:14:25
Why do we need the png results for this? Why not j
arpitab_
2013/08/22 14:12:35
Will change the layout testcase.
|
+</script> |
+</body> |
+</html> |