summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/editing/execCommand/indent-with-after-content-crash.html
blob: ec73261be69697b88fadb23b87b960586f2aa58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<style>
  :after{
    content: "]";
  }
</style>
<script>

if (window.layoutTestController)
    layoutTestController.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">