Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<style>.x { } .y { text-transform: uppercase; }</style><span id="I2">a<div id="I3">b</div></span><script>
document.body.offsetTop;
document.querySelector("span").className = "x";
document.querySelector("div").className = "y";
</script>