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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/spelling/mark-empty-crash.html

Issue 2235643002: Code cleanup related to unified text checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableUnifiedTextCheckerByDefault
Patch Set: Rebased on removal of grammar-checking code Created 4 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
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 <ul contenteditable> 4 <ul contenteditable>
5 <li id="foo"></li> 5 <li id="foo"></li>
6 </ul> 6 </ul>
7 <script> 7 <script>
8 test(function() { 8 test(function() {
9 if (!window.internals) 9 if (!window.internals)
10 return; 10 return;
11 internals.settings.setUnifiedTextCheckerEnabled(true);
12 window.getSelection().selectAllChildren(document.getElementById('foo')); 11 window.getSelection().selectAllChildren(document.getElementById('foo'));
13 document.execCommand('insertParagraph'); 12 document.execCommand('insertParagraph');
14 }, 'spelling'); 13 }, 'spelling');
15 </script> 14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698