blob: 7e9df7a5c2401ee34d0f9569bc82674621e98a22 [file] [log] [blame]
<!DOCTYPE html>
| The directionality of an element is inherited from its parent element if it
| is not explicitly set on the element itself.
| All explicit embedding levels are determined from explicit directional
| formatting characters using a directional status stack.
<meta charset="utf-8">
body {
margin: 0px;
font-family: Roboto, Noto Naskh Arabic UI;
font-size: 30px;
color: #fff;
.containing-block {
background-color: #03a9f4;
width: 500px;
<div class="containing-block">
<div dir="rtl">ط1<span>لتدلت</span>دتد</div>
<div>ط1<span dir="rtl">2لتدل3<span dir="ltr">تدلت4</span>دل5ل6تد</span>لتد</div>
<div dir="rtl">ط1a<span dir="ltr">لتد2ل<span dir="rtl">3تد</span>لتb4د<span dir="rtl">ل5ت6دcل</span>7تد8dل</span>تد</div>
<div dir="ltr">يa<span dir="rtl">bطا32لت</span>دcde</div>
<div dir="rtl"><span>ط1لتدلنشاabطتد2cdيل</span></div>
<div>abط1<span dir="rtl">2لتالت34</span>دلتcd</div>
<div>a<span dir="rtl">b<span dir="rtl">12دل</span>تد3<span dir="ltr">4</span>.cd</span>.,</div>