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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/inserting/insert-paragraph-after-tab-span-and-text.html

Issue 2718543003: Remove EditingAppleTabSpan class handling (Closed)
Patch Set: Make editing/inserting/5549929-2.html pass Created 3 years, 9 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 <body>
4 <div id="test" contenteditable>
5 <span class="Apple-tab-span" style="white-space:pre"> hello</span><br>
6 <span class="Apple-style-span"><span class="Apple-tab-span" style="white-space: pre; "> </span>world</span></div>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
9
10 document.body.focus();
11 var span = document.getElementsByClassName('Apple-tab-span')[0];
12 window.getSelection().collapse(span, 1);
13 document.execCommand('InsertParagraph', false, null);
14
15 Markup.description('This test ensures WebKit inserts a paragraph separator prope rly at the end of a tab span.')
16 Markup.dump('test');
17
18 </script>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698