blob: 6028c643e7782b4d4be1d3924ddb6f607bc90a8b [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-1 {
background-color: #03a9f4;
width: 300px;
}
.containing-block-2 {
background-color: #03a9f4;
width: 200px;
}
</style>
</head>
<body>
<div class="containing-block-1">
<div dir="ltr">test<span dir="rtl">32.ما اسمك؟</span> Thanks.</div>
<div dir="rtl">test<span dir="ltr">32.ما اسمك؟</span> Thanks.</div>
</div>
<div class="containing-block-2">
<div dir="ltr">test<span dir="rtl">32.ما اسمك؟</span> Thanks.</div>
<div dir="rtl">test<span dir="ltr">32.ما اسمك؟</span> Thanks.</div>
</div>
</body>
</html>