blob: 12f14f9bd2cbc2598c9bfdfe9c484a50ebacb147 [file] [log] [blame]
<!DOCTYPE html>
<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>