summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/overflow-float-overflow.html
blob: 5d34cc0bddf13a71cdc714a17e433dc0130cf4dd (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: 6em; float: left; }

</style>

<div>Hello</div>