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

Side by Side Diff: LayoutTests/editing/execCommand/overtype-support.html

Issue 1097693003: queryCommandSupported() should return 'true' for cut/copy/paste editing commands (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script> 6 <script>
7 description('This test checks that the Overwrite mode is: 1) not exposed to Java Script 2) queryCommandState returns false.'); 7 description('This test checks that the Overwrite mode is: 1) not exposed to Java Script 2) queryCommandState returns false.');
8 8
9 shouldBeFalse("document.queryCommandSupported('OverWrite')"); 9 shouldBeTrue("document.queryCommandSupported('OverWrite')");
10 shouldBeFalse("document.queryCommandState('OverWrite')"); 10 shouldBeFalse("document.queryCommandState('OverWrite')");
11 11
12 var successfullyParsed = true; 12 var successfullyParsed = true;
13 </script> 13 </script>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698