summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/1404167-4.html
blob: daa864301516c95cf9f9f2ab65257542eda178f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<style>
div::first-letter {
  color: green;
}

div::first-line {
  color: blue;
}
</style>
<div>My first letter should be green, and the whole line 20px in size</div>
<script>
document.body.offsetTop;
document.querySelector('div').style.fontSize = "20px";
document.body.offsetTop;
</script>