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

Side by Side Diff: LayoutTests/fast/events/scoped/editing-commands.html

Issue 10446008: Merge 116618 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | Source/WebCore/dom/CharacterData.cpp » ('j') | 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 <html> 2 <html>
3 <body> 3 <body>
4 <p>This test ensures WebKit does not fire DOM mutation events while execCommand is in progress.</p> 4 <p>This test ensures WebKit does not fire DOM mutation events while execCommand is in progress.</p>
5 <div id="test" contenteditable></div> 5 <div id="test" contenteditable></div>
6 <pre> 6 <pre>
7 <script> 7 <script>
8 8
9 if (window.layoutTestController) 9 if (window.layoutTestController)
10 layoutTestController.dumpAsText(); 10 layoutTestController.dumpAsText();
(...skipping 29 matching lines...) Expand all
40 {name: 'RemoveFormat', value: null}, 40 {name: 'RemoveFormat', value: null},
41 {name: 'Strikethrough', value: null}, 41 {name: 'Strikethrough', value: null},
42 {name: 'Subscript', value: null}, 42 {name: 'Subscript', value: null},
43 {name: 'Superscript', value: null}, 43 {name: 'Superscript', value: null},
44 {name: 'Transpose', value: null, selector: function (test) { window.getSelec tion().setPosition(test.firstChild, 1); }}, 44 {name: 'Transpose', value: null, selector: function (test) { window.getSelec tion().setPosition(test.firstChild, 1); }},
45 {name: 'Underline', value: null}, 45 {name: 'Underline', value: null},
46 {name: 'Unlink', value: null}, 46 {name: 'Unlink', value: null},
47 ]; 47 ];
48 48
49 var events = { 49 var events = {
50 'DOMCharacterDataModified': false,
50 'DOMSubtreeModified': false, 51 'DOMSubtreeModified': false,
51 'DOMNodeInserted': false, 52 'DOMNodeInserted': false,
52 'DOMNodeRemoved': false, 53 'DOMNodeRemoved': false,
53 'DOMNodeRemovedFromDocument': false, 54 'DOMNodeRemovedFromDocument': false,
54 'DOMNodeInsertedIntoDocument': true, // this event can never be observed. 55 'DOMNodeInsertedIntoDocument': true, // this event can never be observed.
55 'DOMFocusIn': false, 56 'DOMFocusIn': false,
56 'DOMFocusOut': false, 57 'DOMFocusOut': false,
57 'focusin': false, 58 'focusin': false,
58 'focusout': false, 59 'focusout': false,
59 }; 60 };
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 if (!events[e]) 121 if (!events[e])
121 document.write('\nWARNING: ' + e + ' was never observed.'); 122 document.write('\nWARNING: ' + e + ' was never observed.');
122 } 123 }
123 124
124 document.write('\n\nDONE'); 125 document.write('\n\nDONE');
125 126
126 </script> 127 </script>
127 </pre> 128 </pre>
128 </body> 129 </body>
129 </html> 130 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/dom/CharacterData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698