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

Unified Diff: LayoutTests/editing/deleting/delete-inline-br.html

Issue 23311004: inline <br> does not get deleted when following some non-textual content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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: 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>: &lt;br&gt; 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>

Powered by Google App Engine
This is Rietveld 408576698