Editing tests should use testRunner instead of layoutTestController
[WebKit-https.git] / LayoutTests / editing / execCommand / indent-with-after-content-crash.html
1 <style>
2   :after{
3     content: "]";
4   }
5 </style>
6 <script>
7
8 if (window.testRunner)
9     testRunner.dumpAsText();
10
11 window.onload = function() {
12     document.execCommand("SelectAll",false);
13     document.execCommand("Indent", false);
14
15     document.body.innerHTML = "This tests indenting with :after {content: \"]\"}. The test passes if WebKit doesn't crash.<br>"
16         + "PASS.";
17 };
18 </script>
19 <e>
20 x
21 <body contenteditable="true">