summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/429968-2c.html
blob: 65bb91d3db6b082511b88af33a85da21f522a0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<html>
<head>
<style>
body { white-space:pre; color:black; }
#inner::first-letter { color:lime; }
</style>
</head>
<body><div id="inner"><span id="s">
</span>AB</div></body>
<script>
document.body.offsetTop;
document.getElementById("s").style.whiteSpace = "normal";
</script>
</html>