<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<style>
  div { font-size: 4em; }
  body {
    max-width: 600px;
    max-width: max-content;
  }
</style>

<p>Test passes if there are two identical strings below. Pay attention to the right-most character.
<div dir=rtl lang=ar>عائلة</div>
<div dir=rtl lang=ar>عائلة</div>
