blob: 69bc9b23f9cd7ffd39ec3436ec86373560ed4ae2 [file] [log] [blame]
<script src="../../resources/js-test-pre.js"></script>
<body>
<script>
var style = document.createElement("style");
style.innerText = '#test:before { content: "before"; } #test:after { content: "after"; }';
var span = document.createElement("span");
span.id = "test";
var div = document.createElement("div");
div.appendChild(style);
div.appendChild(span);
document.body.appendChild(div);
</script>
<script src="../../resources/js-test-post.js"></script>