Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: text-align: left and direction:rtl - unordered list</title>
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
<meta name="assert" content="text-align:left should be applied to unordered list in rtl context without affecting its rtlness"/>
<style type="text/css"><![CDATA[
html {direction: rtl;}
li {text-align: left;}
ul,li {padding-left:2em;padding-right:2em;}
]]></style>
</head>
<body>
<p>The list should be left-aligned and have a bullet to the right of each item</p>
<ul>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ul>
</body>
</html>