summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-overflow/vertical-decorations-4.html
blob: 20283e5a65771704794e5fdf230b4da90988a0f5 (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;
}
.vrl {
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: 6em;
}
</style>
</head>

<body>
<div class="vrl"><span>你好吗?我很好!</span></div>
</body>
</html>