blob: 14af9c6063aaa1c91984f4bf759f6f667b4c083e [file] [log] [blame]
<!DOCTYPE html>
<!-- No text in black, B and F should be blue. -->
<html>
<body style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;">
<style>
.test1:before {
display: table;
content: "AB";
}
.test2:after {
display: table;
content: "EF";
}
.test1:first-letter { color: green; }
.test2:first-letter { color: green; }
</style>
<div class="test1">C</div>
<div class="test2">D</div>
<div class="test2"></div>
<script>
document.body.offsetTop;
document.body.style.color = "blue";
</script>
</html>