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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/style/highlight-insert-paragraph.html

Issue 2100243002: Remove non-standardize key code names from event_sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix inspector tests that were missed by sed Created 4 years, 5 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 <html> 1 <html>
2 <body> 2 <body>
3 <p>This tests inserting a new paragraph preserves the background color.</p> 3 <p>This tests inserting a new paragraph preserves the background color.</p>
4 <div> 4 <div>
5 <div id="test" contenteditable="true"> 5 <div id="test" contenteditable="true">
6 test 6 test
7 </div> 7 </div>
8 </div> 8 </div>
9 <div id="console"></div> 9 <div id="console"></div>
10 10
(...skipping 14 matching lines...) Expand all
25 r.setEnd(e.firstChild,5); 25 r.setEnd(e.firstChild,5);
26 s.removeAllRanges(); 26 s.removeAllRanges();
27 s.addRange(r); 27 s.addRange(r);
28 document.execCommand("hiliteColor",false,"#99f"); 28 document.execCommand("hiliteColor",false,"#99f");
29 29
30 r = document.createRange(); 30 r = document.createRange();
31 r.setStart(e.firstChild.firstChild,5); 31 r.setStart(e.firstChild.firstChild,5);
32 r.setEnd(e.firstChild.firstChild,5); 32 r.setEnd(e.firstChild.firstChild,5);
33 s.removeAllRanges(); 33 s.removeAllRanges();
34 s.addRange(r); 34 s.addRange(r);
35 pressKey('\n'); 35 pressKey('Enter');
36 pressKey('e'); 36 pressKey('e');
37 37
38 document.getElementById('console').appendChild(document.createTextNode(e.innerHT ML)); 38 document.getElementById('console').appendChild(document.createTextNode(e.innerHT ML));
39 39
40 </script> 40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698