1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text/arabic-marks-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<meta charset="utf-8"> 1.8 +<title>bug 873902 - marks should not affect width of Arabic text</title> 1.9 +<style> 1.10 +body { 1.11 + background-color: white; 1.12 + font-size: 50px; 1.13 + margin: 20px; 1.14 +} 1.15 + 1.16 +/* Try several fonts that should be available on Windows; at least Courier New is also on OS X. 1.17 + Elsewhere, we may fall back to default, which may or may not be "interesting" to test, 1.18 + but should pass harmlessly unless there's actually a broken font that shapes badly. */ 1.19 +#a { 1.20 + font-family: Andalus; 1.21 +} 1.22 +#b { 1.23 + font-family: Courier New; 1.24 +} 1.25 +#c { 1.26 + font-family: Simplified Arabic; 1.27 +} 1.28 + 1.29 +.test { 1.30 + color: white; 1.31 +} 1.32 +</style> 1.33 +</head> 1.34 +<body> 1.35 +<div id="a"> 1.36 +foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar 1.37 +</div> 1.38 +<div id="b"> 1.39 +foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar 1.40 +</div> 1.41 +<div id="c"> 1.42 +foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar 1.43 +</div> 1.44 +</body> 1.45 +</html>