| Index: LayoutTests/editing/execCommand/outdent-collapse-table-crash.html
|
| diff --git a/LayoutTests/editing/execCommand/outdent-collapse-table-crash.html b/LayoutTests/editing/execCommand/outdent-collapse-table-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ffc5ee97e3a4c5b833d39eb2502983d15923b1ab
|
| --- /dev/null
|
| +++ b/LayoutTests/editing/execCommand/outdent-collapse-table-crash.html
|
| @@ -0,0 +1,34 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<style>
|
| +* {
|
| + -webkit-appearance: media-controls-background;
|
| + display: table-footer-group;
|
| + visibility: visible;
|
| +}
|
| +
|
| +*:only-of-type {
|
| + visibility: collapse;
|
| +}
|
| +</style>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +onload = function() {
|
| + document.designMode = 'on';
|
| + var blockQuote = document.querySelector('blockquote');
|
| + getSelection().collapse(blockQuote, 2);
|
| + document.execCommand('Outdent');
|
| + document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
|
| +};
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<blockquote>
|
| +<table><tr><td>foo</td></tr></table>
|
| +<table><tr><td>bar</td></tr></table>
|
| +</blockquote>
|
| +</body>
|
| +</html>
|
|
|