summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-002-ref.html
blob: fc068905f2f958c8aaed65d03bf73b8568378ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<style>
.container {
  font: 20px/1.5 monospace;
  width: 23.5ch;
  border: solid 1px;
}
.float {
  background: yellow;
  padding: 0.2em 1ch;
  line-height: 1.2;
  float: right;
}
</style>

<div class="container"><div class="float">FLOAT<br>FLOAT</div>abc de fg<br>hij klm<br>nop qrst uvw xyz!</div>