<!DOCTYPE html> | |
<html style="font-family: ahem; font-size: 10px; -webkit-font-smoothing: none;"> | |
<!-- Test passes if you see RUNIN, followed by list marker and ABCD. All text should be of same 50px size. --> | |
<style> | |
li:before { content: "AB"; } | |
</style> | |
<div style="display: run-in; color: green">RUNIN</div> | |
<li style="color: orange">CD</li> | |
<script> | |
document.body.offsetTop; | |
document.body.style.fontSize = "50px"; | |
</script> | |
</body> | |
</html> |