<!DOCTYPE html>
<!-- Test passes if you see green text only and no "PA" repetition -->
<html>
<body style="font-family: ahem; font-size: 40px; -webkit-font-smoothing: none;">
<style>
li:before { content: "PA"; }
</style>
<li>SS
<div></div>
</li>
<script>
document.body.offsetTop;
document.body.style.color = "green";
</script>
</body>
</html>
