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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/after-removing-textarea.html

Issue 2441363002: Convert editing/selection/5497643.html to use assert_selection() (Closed)
Patch Set: 2016-10-24T18:04:56 Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/selection/5497643.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script> 2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script> 3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../assert_selection.js"></script> 4 <script src="../assert_selection.js"></script>
5 <script> 5 <script>
6 test(() => assert_selection( 6 test(() => assert_selection(
7 '<div contenteditable>one\u{00A0}|<br></div>', 7 'before<textarea>|</textarea>after',
8 'insertHTML two<div>three</div>', 8 selection => {
9 '<div contenteditable>one two<div>three|</div></div>'), 9 selection.document.querySelector('textarea').remove();
10 'insert DIV before BR at end'); 10 },
11 'before|after'),
12 'We should have caret after removing TEXTAREA');
11 </script> 13 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/selection/5497643.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698