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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 div { border: 1px solid black; }
6 </style>
7 <script src="../editing.js" ></script>
8 <script>
9 function editingTest() {
10 for (i = 0; i < 7; i++) {
11 moveSelectionForwardByCharacterCommand();
12 }
13 deleteCommand();
14 }
15 </script>
16 <body>
17 <p>Testcase for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=120006">120 006</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 a nd then press the backspace button. This should merge the two lines and "text2" should get placed after the text control.</p>
18 <div id="root" contenteditable="true">
19 <span id="test">text1<input type="text"/><br>text2</span>
20 </div>
21 <script>
22 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.
23 </script>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698