blob: 2b66f617c4a4a7db4c7b9c1343b15866d4c0d2be [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. The parent does not have its
| directionality impacted by its children.
<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: 200px;
<div class="containing-block">
<div dir="rtl">test<div dir="ltr">32.ما اسمك؟</div> Thanks.</div>
<div dir="ltr">test<div dir="rtl">32.ما اسمك؟</div> Thanks.</div>