<!DOCTYPE html> | |
<html> | |
<body style="font-family: ahem; -webkit-font-smoothing: none;"> | |
<!-- Test passes if A (blue box) in first line, followed by B (green box) in next line. --> | |
<style> | |
span:before { | |
display: block; | |
content: "A"; | |
color: blue; | |
} | |
</style> | |
<span style="color: green"><div></div>B</span> | |
<script> | |
document.body.style.fontSize = "200px"; | |
</script> | |
</body> | |
</html> |