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.
| https://www.w3.org/TR/html5/dom.html#the-directionality
-->
<html>
<head>
<meta charset="utf-8">
<style>
body {
margin: 0px;
font-family: Roboto, Noto Naskh Arabic UI;
font-size: 30px;
color: #fff;
}
.containing-block {
background-color: #03a9f4;
width: 200px;
}
</style>
</head>
<body>
<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>
</div>
</body>
</html>