<style>
  :after{
    content: "]";
  }
</style>
<script>

if (window.testRunner)
    testRunner.dumpAsText();

window.onload = function() {
    document.execCommand("SelectAll",false);
    document.execCommand("Indent", false);

    document.body.innerHTML = "This tests indenting with :after {content: \"]\"}. The test passes if WebKit doesn't crash.<br>"
        + "PASS.";
};
</script>
<e>
x
<body contenteditable="true">
