summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/overflow-float-overflow.html
blob: 0d0d1ee933bbd7f5881136441ff509b6cbe9ece5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<title>::first-letter and overflow</title>
<style>

div {
  height: 3em; width: 8em;
  padding: 3px;
  background: yellow; color: black;
  overflow: auto;
  line-height: 1.0;
}
div::first-letter { font-size: 4em; float: left; }

</style>

<div>Hello</div>