blob: 7e3addb32ef2d24fddc59ddcaae6fb41f7e71142 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en" >
<meta charset="utf-8"/>
<title>The dir attribute: ordered and unordered lists</title>
<link rel='author' title='HTML5 bidi test WG' href=''>
<link rel='help' href=''>
<meta name="assert" content="[Exploratory] In a rtl context, all list items should start from the right, regardless of the direction of the script in the list item.">
<style type='text/css'>
.test, .ref { width: 90%; margin: 0 4%; font-size: 2em; position: absolute; top: 0; }
.ref { color: red; z-index: -100; }
<p class="instructions">Test passes if all bullets and numbers are to the right of the list item.</p>
<div class="test" dir="rtl">
<li>left right</li>
<li>حق غادر</li>
<li>נכון שמאל</li>
<li>left right</li>
<li>حق غادر</li>
<li>נכון שמאל</li>