blob: a3f16fa3dc61eee5c56eaab7ef67adcd33a13269 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>The dir attribute: dir=ltr basic test</title>
<link rel='author' title='HTML5 bidi test WG' href='mailto:public-i18n-bidi@w3.org'>
<link rel='help' href='https://html.spec.whatwg.org/multipage/dom.html#the-dir-attribute'>
<link rel="match" href="reference/the-dir-attribute-002-ref.html">
<meta name="assert" content="If the element's dir attribute is in the ltr state, the directionality of the element is ltr.">
<style type='text/css'>
.test, .ref { width: 90%; margin: 0 4%; font-size: 2em; position: absolute; top: 0; }
.ref { color: red; z-index: -100; }
</style>
</head>
<body>
<p class="instructions">Test passes if you see no red characters.</p>
<div style="position: relative">
<div class="test" dir="rtl"><p dir="ltr">مكتب W3C הישראלי</p><p>נכון <span dir="ltr">مكتب W3C הישראלי</span> שמאל</p></div>
<div class="ref"><p>&#x202A;مكتب W3C הישראלי&#x202C;</p><p style="text-align: right;">שמאל &#x202A;مكتب W3C הישראלי&#x202C; נכון</p></div>
</div>
</body>
</html>