summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-align-001.html
blob: b27823b72a4dfec983e0e0eae7a5436d9f958b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#valdef-text-wrap-balance">
<link rel="match" href="reference/text-wrap-balance-align-001-ref.html">
<style>
.container {
  font-family: monospace;
  font-size: 20px;
  width: 20ch;
  border: solid 1px;
  text-wrap: balance;
}
</style>
<div class="container" style="text-align: right">
  123456789 123 567
  123456789 123 567
</div>
<div class="container" style="text-align: center">
  123456789 123 567
  123456789 123 567
</div>
<div class="container" style="text-align: justify">
  123456789 123 567
  123456789 123 567
</div>