<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <style>
        div { font-size: 64px; display: inline-block; border: 1px solid red; }
    </style>
</head>
<body>
    <div dir="rtl"><span>نه</span>  با</div>
    <div dir="rtl"><span>نه</span>  با</div>
    <p>
        The two blocks above should be identical.
    </p>
</body>
</html>
