blob: 76cdc414710c86bf2cf2d14e5bd17d16a01410cf (
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>RTL mtable and mtable with frame</title>
<link rel="help" href="https://w3c.github.io/mathml-core/#attributes-common-to-html-and-mathml-elements">
<link rel="help" href="https://w3c.github.io/mathml-core/#css-styling">
<link rel="help" href="https://w3c.github.io/mathml-core/#tabular-math">
<meta name="assert" content="Verify RTL math table renders the same as the column mirrored.">
<link rel="match" href="direction-006-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
math, math * {
font: 25px Ahem;
}
</style>
</head>
<body>
<p>
<math dir="rtl">
<mtable>
<mtr>
<mtd>
<mtext>X</mtext>
</mtd>
<mtd>
<mtext>p</mtext>
</mtd>
<mtd>
<mtext>É</mtext>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>Xp</mtext>
</mtd>
<mtd>
<mtext>XÉ</mtext>
</mtd>
<mtd>
<mtext>pÉ</mtext>
</mtd>
</mtr>
</mtable>
</math>
</p>
<p>
<math dir="rtl">
<mtable frame="solid">
<mtr>
<mtd>
<mtext>X</mtext>
</mtd>
<mtd>
<mtext>p</mtext>
</mtd>
<mtd>
<mtext>É</mtext>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>Xp</mtext>
</mtd>
<mtd>
<mtext>XÉ</mtext>
</mtd>
<mtd>
<mtext>pÉ</mtext>
</mtd>
</mtr>
</mtable>
</math>
</p>
<script src="/mathml/support/feature-detection.js"></script>
<script>MathMLFeatureDetection.ensure_for_match_reftest("has_dir");</script>
</body>
</html>
|