summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/overflow-float-nooverflow.html
blob: ff9020344346a681f76a88afffc738183039874e (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: 8em; width: 5em;
  padding: 3px;
  background: yellow; color: black;
  overflow: auto;
  line-height: 1.0;
}
div::first-letter { font-size: 1.2em; float: left; }

</style>

<div>Hello world, testing, testing, testing, testing</div>