summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-overflow/vertical-decorations-2.html
blob: c5e6e6fd9fa7410a85e34eb04b6ee7d509096e1c (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
25
26
27
28
29
30
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
div {
  font: 25px monospace;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid gray;
  padding: 5px;
  display: inline-block;
  vertical-align: top;
}
span {
  text-decoration: overline;
}
.vlr {
  writing-mode: vertical-lr;
  text-orientation: sideways-right;
  height: 10ch;
}
</style>
</head>

<body>
<div class="vlr"><span>abcdefghijklm</span></div>
</body>
</html>