2007-10-03 09:28:23 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<!-- Bidi reftest 006: rtl text with diacritics. This is hard to reftest
|
|
|
|
because if there is a bug it will typically be exhibited in the reference
|
|
|
|
rendering as well as in the test. The approach adopted here is to
|
|
|
|
position boxes around the edges of the character without a diacritic and
|
|
|
|
make sure that the character with the diacritic displays in the same
|
|
|
|
space, so that if the diacritic is shifted to the right or left it will
|
|
|
|
be cut off in the test rendering and be visible (in the wrong place) in
|
|
|
|
the reference rendering.
|
|
|
|
|
|
|
|
Relevant bugs:
|
|
|
|
378351 (Windows)
|
|
|
|
386573 (Mac)
|
|
|
|
387653 (Linux)
|
|
|
|
395676 (Windows)
|
|
|
|
-->
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
|
|
</head>
|
|
|
|
<style type="text/css">
|
|
|
|
body { background: white; color: black; }
|
|
|
|
p {
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 36px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
width: 3em;
|
|
|
|
height: 3em;
|
|
|
|
margin-top: -2em;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
p#test { margin: 0 3em; }
|
|
|
|
</style>
|
|
|
|
<body>
|
2007-10-25 15:07:25 +04:00
|
|
|
<p id="test">נָ</p>
|
|
|
|
<p id="overhang"><span></span>נ<span></span></p>
|
2007-10-03 09:28:23 +04:00
|
|
|
</body>
|
|
|
|
</html>
|