blob: dda8016e770624d50632c675bb78da835baef51a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE HTML>
<html>
<head>
<style>
body { white-space:pre; color:blue; }
/* FIXME (Bug 1058203): avoid line-height:normal since it seems to have
different meaning on ::first-letter or span */
#inner::first-letter { color:red; text-decoration:underline;
font-size:200%; line-height: 1.2; }
</style>
</head>
<body><div id="inner"><span>
</span>AB</div></body>
<script>
document.body.offsetTop;
document.body.style.color = "black";
</script>
</html>
|