Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/editing/execCommand/replace-crossing-mailblockquote-crash.html |
| diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/insert-font-weight2.html b/third_party/WebKit/LayoutTests/editing/execCommand/replace-crossing-mailblockquote-crash.html |
| similarity index 52% |
| copy from third_party/WebKit/LayoutTests/editing/pasteboard/insert-font-weight2.html |
| copy to third_party/WebKit/LayoutTests/editing/execCommand/replace-crossing-mailblockquote-crash.html |
| index c72b31f7e8080233df7ba4f0aaf683371fccc928..eb7ea16d0c680f5c93ebb8055d0399ca63b26117 100644 |
| --- a/third_party/WebKit/LayoutTests/editing/pasteboard/insert-font-weight2.html |
| +++ b/third_party/WebKit/LayoutTests/editing/execCommand/replace-crossing-mailblockquote-crash.html |
| @@ -1,23 +1,19 @@ |
| <!DOCTYPE html> |
| +<html><head> |
| <script src="../../resources/testharness.js"></script> |
| <script src="../../resources/testharnessreport.js"></script> |
| -a |
| -<style> |
| -* { |
| - font-weight:lighter; |
| -} |
| -</style> |
| -a |
| -<style> |
| -* { |
| - font-weight:900; |
| -} |
| -</style> |
| +</head> |
| +<body> |
| +<blockquote type="cite"><div>Three</div></blockquote> |
| +<br> |
| +"bar" |
| <div id="log"></div> |
| <script> |
| -test(function() { |
| +test(function () { |
| document.designMode = 'on'; |
| document.execCommand("selectAll"); |
|
yosin_UTC9
2015/10/21 05:45:18
nit: prefer to use single-quote in JavaScript. At
yoichio
2015/10/22 05:14:22
Done.
|
| - document.execCommand("insertOrderedList"); |
| + document.execCommand("InsertHTML", false, "<blockquote type='cite'>Line 2</blockquote><img>"); |
| }); |
| </script> |
| +</body> |
| +</html> |