28 lines
588 B
HTML
28 lines
588 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Test Case</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
|
|
<style type="text/css">
|
|
.error:before {
|
|
content: "You should just see a single line";
|
|
display: table-cell;
|
|
}
|
|
|
|
.error:after {
|
|
content: "of blue text.";
|
|
display: table-cell;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="error"><div style="display:table-cell"> </div></div>
|
|
<script>
|
|
document.body.offsetLeft;
|
|
document.body.style.color = 'blue';
|
|
</script>
|
|
</body>
|
|
</html> |