Chromium Code Reviews| Index: LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html |
| diff --git a/LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html b/LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..38c03df260332e8dd505e3def4ad3040603b41a6 |
| --- /dev/null |
| +++ b/LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
| +<html id="html"> |
|
Yuta Kitamura
2014/04/30 08:42:03
Is this ID necessary?
yoichio
2014/04/30 08:56:08
Done.
|
| +<head id="head"> |
|
Yuta Kitamura
2014/04/30 08:42:03
Ditto.
yoichio
2014/04/30 08:56:08
Done.
|
| +<style> |
| +* { display: -webkit-inline-box;} |
|
Yuta Kitamura
2014/04/30 08:42:03
nit: Insert a space after semicolon.
yoichio
2014/04/30 08:56:08
Done.
|
| +.CLASS11 { float: right;} |
|
Yuta Kitamura
2014/04/30 08:42:03
Ditto.
yoichio
2014/04/30 08:56:08
Done.
|
| +</style> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| + |
| +window.onload = function () { |
| + document.designMode = 'on'; |
| + document.execCommand('SelectAll', false) |
| + document.execCommand('Indent', false, false); |
| + document.execCommand('Indent', false, false); |
| + document.documentElement.innerHTML = 'PASS. Blink didn\'t crash.'; |
| +}; |
| +</script> |
| +</head> |
| +<body>aaa<div class="CLASS11"></div><div>bbb</div></body> |
| +</html> |