Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<head>
<style>
body, #tq { display: inline; }
#tq { position: relative; }
</style>
<style id="newstyle">
</style>
<script>
function foo()
{
document.getElementById("tq").style.position = "static";
document.getElementById("newstyle").textContent = "*:first-letter { }";
}
</script>
</head>
<body onload="foo()">
<table><tr><td>Table</td></tr></table>
<div id="tq">Div</div>
</body>
</html>