blob: aae441ac4e02ddb6e44bfa9004ff33c376cb6548 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>text-underline-position reference file</title>
<style>
.outer {
margin: 1em;
clear: left;
}
.outer > div {
margin: .25em;
padding: .25em;
float: left;
border: 1px dotted gray;
}
u {
text-decoration: 2px green underline;
text-underline-offset: .25em;
}
.test1 > div {
writing-mode: initial;
}
.test2 > div {
writing-mode: sideways-rl;
}
.test3 > div {
writing-mode: sideways-lr;
}
.test4 > div {
writing-mode: vertical-rl;
text-orientation: sideways;
}
.test5 > div {
writing-mode: vertical-lr;
text-orientation: sideways;
}
</style>
</head>
<body>
<p class="instructions">Test passes if the left and right boxes match in each case:</p>
<div class="outer test1">
<div>
<p><u>underlined</u></p>
</div>
<div>
<p><u>underlined</u></p>
</div>
</div>
<div class="outer test2">
<div>
<p><u>underlined</u></p>
</div>
<div>
<p><u>underlined</u></p>
</div>
</div>
<div class="outer test3">
<div>
<p><u>underlined</u></p>
</div>
<div>
<p><u>underlined</u></p>
</div>
</div>
<div class="outer test4">
<div>
<p><u>underlined</u></p>
</div>
<div>
<p><u>underlined</u></p>
</div>
</div>
<div class="outer test5">
<div>
<p><u>underlined</u></p>
</div>
<div>
<p><u>underlined</u></p>
</div>
</div>
</body>
</html>
|