Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>bug 873902 - marks should not affect width of Arabic text</title>
6 <style>
7 body {
8 background-color: white;
9 font-size: 50px;
10 margin: 20px;
11 }
13 /* Try several fonts that should be available on Windows; at least Courier New is also on OS X.
14 Elsewhere, we may fall back to default, which may or may not be "interesting" to test,
15 but should pass harmlessly unless there's actually a broken font that shapes badly. */
16 #a {
17 font-family: Andalus;
18 }
19 #b {
20 font-family: Courier New;
21 }
22 #c {
23 font-family: Simplified Arabic;
24 }
26 .test {
27 color: white;
28 }
29 </style>
30 </head>
31 <body>
32 <div id="a">
33 foo<span class="test">الرحمن الرحيم</span>bar
34 </div>
35 <div id="b">
36 foo<span class="test">الرحمن الرحيم</span>bar
37 </div>
38 <div id="c">
39 foo<span class="test">الرحمن الرحيم</span>bar
40 </div>
41 </body>
42 </html>