зеркало из https://github.com/mozilla/gecko-dev.git
34 строки
1.9 KiB
HTML
34 строки
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Bidirectional Text Test 2 - HTML</title>
|
|
<style>
|
|
p { font-family: monospace; text-align: left; }
|
|
.embed { unicode-bidi: embed; }
|
|
.override { unicode-bidi: bidi-override; }
|
|
.rtl { direction: rtl; }
|
|
.ltr { direction: ltr; }
|
|
</style>
|
|
</head>
|
|
<!-- Testcases based on http://dbaron.org/css/test/bidi2_html by L. David Baron. -->
|
|
<body>
|
|
<p>אבג</p>
|
|
<p class="embed">אבג</p>
|
|
<p class="override">אבג</p>
|
|
<p>אבג ABC דהו</p>
|
|
<p class="rtl">אבג ABC דהו</p>
|
|
<p>אבג ABC דהו DEF זחט</p>
|
|
<p>אבג <span>ABC דהו</span> DEF זחט</p>
|
|
<p>אבג <span dir="ltr">ABC דהו DEF</span> זחט</p>
|
|
<p>אבג <span dir="rtl">ABC דהו DEF</span> זחט</p>
|
|
<p>אבג <span dir="rtl">ABC דהו</span> DEF זחט</p>
|
|
<p>אבג <bdo dir="rtl">ABC דהו</bdo> DEF זחט</p>
|
|
<p>אבג <bdo dir="ltr">ABC דהו</bdo> DEF זחט</p>
|
|
<p class="rtl">אבג <bdo dir="ltr">ABC דהו</bdo> DEF זחט</p>
|
|
<p>אבג ABC דהו DEF GHI זחט</p>
|
|
<p>אבג <bdo dir="rtl">ABC דהו DEF</bdo> GHI זחט</p>
|
|
<p>אבג ABC <bdo dir="rtl">דהו DEF</bdo> GHI זחט</p>
|
|
</body>
|
|
</html>
|