Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <meta charset="utf-8"> |
michael@0 | 5 | <title>bug 873902 - marks should not affect width of Arabic text</title> |
michael@0 | 6 | <style> |
michael@0 | 7 | body { |
michael@0 | 8 | background-color: white; |
michael@0 | 9 | font-size: 50px; |
michael@0 | 10 | margin: 20px; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | /* Try several fonts that should be available on Windows; at least Courier New is also on OS X. |
michael@0 | 14 | Elsewhere, we may fall back to default, which may or may not be "interesting" to test, |
michael@0 | 15 | but should pass harmlessly unless there's actually a broken font that shapes badly. */ |
michael@0 | 16 | #a { |
michael@0 | 17 | font-family: Andalus; |
michael@0 | 18 | } |
michael@0 | 19 | #b { |
michael@0 | 20 | font-family: Courier New; |
michael@0 | 21 | } |
michael@0 | 22 | #c { |
michael@0 | 23 | font-family: Simplified Arabic; |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | .test { |
michael@0 | 27 | color: white; |
michael@0 | 28 | } |
michael@0 | 29 | </style> |
michael@0 | 30 | </head> |
michael@0 | 31 | <body> |
michael@0 | 32 | <div id="a"> |
michael@0 | 33 | foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar |
michael@0 | 34 | </div> |
michael@0 | 35 | <div id="b"> |
michael@0 | 36 | foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar |
michael@0 | 37 | </div> |
michael@0 | 38 | <div id="c"> |
michael@0 | 39 | foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar |
michael@0 | 40 | </div> |
michael@0 | 41 | </body> |
michael@0 | 42 | </html> |