Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS Test: direction and borders - normal</title>
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
<meta name="assert" content="Borders should be unaffected by directionality"/>
<style type="text/css"><![CDATA[
span {
border: 5px solid gray;
border-color: green purple yellow blue;
}
.rtol {
direction: rtl;
unicode-bidi: normal;
}
p {text-align: left;}
]]></style>
</head>
<body>
<p>Two identical lines:</p>
<p>
First <span>Second</span>
</p>
<p class="rtol">
First <span>Second</span>
</p>
</body>
</html>