blob: 06a64749c6bc3c6b5538537fa57ea9bef9f2b4c1 [file] [log] [blame]
<!DOCTYPE html>
<!-- Test passes if you see three blue boxes in three seperate rows. -->
<html style="font: 1em/1 Ahem, sans-serif;">
<style type="text/css">
.container:before
{
content: "ABCD";
display: table-row;
}
.container:after
{
content: "EFGH";
display: table-row;
}
</style>
</head>
<body>
<div class="container">
<div style="display: block">1234</div>
</div>
<script>
document.body.offsetTop;
document.body.style.color = 'blue';
</script>
</html>