Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | |
| 2 <head> | 3 <head> |
| 3 <style> | |
| 4 hr { display: table-cell; } | |
| 5 </style> | |
| 6 <script> | 4 <script> |
| 7 if (window.testRunner) | 5 if (window.testRunner) |
| 8 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 9 | 7 |
| 10 onload = function() { | 8 onload = function() { |
| 11 document.designMode = 'on'; | 9 document.execCommand("selectAll"); |
|
Yuta Kitamura
2014/06/16 03:33:26
nit: Single quotes for string literals?
yosin_UTC9
2014/06/16 03:45:54
Done.
| |
| 12 document.execCommand('SelectAll'); | 10 document.execCommand("justifyCenter"); |
| 13 document.execCommand('Indent'); | |
| 14 document.body.textContent = 'PASS if Blink doesn\'t crash.'; | 11 document.body.textContent = 'PASS if Blink doesn\'t crash.'; |
| 15 }; | 12 }; |
| 16 </script> | 13 </script> |
| 17 </head> | 14 </head> |
| 18 <body> | 15 <body contenteditable="true"> |
| 19 before<hr><hr>after | 16 <kbd>foo</kbd> |
| 17 <sup>bar<abbr contenteditable="false">baz</abbr></sup> | |
| 20 </body> | 18 </body> |
| 21 </html> | 19 </html> |
| OLD | NEW |