layout/reftests/text/arabic-marks-1.html
author Chris Peterson <cpeterson@mozilla.com>
Fri, 27 Nov 2015 20:49:55 -0800
changeset 311578 a1bf9a99ec4b309c91eb08b43a0e61c338616239
parent 144846 54553d06c80d790660566074ec02b57fdcb9d768
permissions -rw-r--r--
Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>bug 873902 - marks should not affect width of Arabic text</title>
<style>
body {
  background-color: white;
  font-size: 50px;
  margin: 20px;
}

/* Try several fonts that should be available on Windows; at least Courier New is also on OS X.
   Elsewhere, we may fall back to default, which may or may not be "interesting" to test,
   but should pass harmlessly unless there's actually a broken font that shapes badly. */
#a {
  font-family: Andalus;
}
#b {
  font-family: Courier New;
}
#c {
  font-family: Simplified Arabic;
}

.test {
  color: white;
}
</style>
</head>
<body>
<div id="a">
foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar
</div>
<div id="b">
foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar
</div>
<div id="c">
foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar
</div>
</body>
</html>