blob: d09fef3998f205c6f098759654524e38d2c124ab [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>