haikuwebkit/LayoutTests/editing/execCommand/indent-with-after-content-c...

22 lines
426 B
HTML

<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">