Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: position:fixed in rtl context</title>
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
<meta name="assert" content="Default horizontal position of position:fixed block should be right in rtl context, and ancestor direction should still be applied inside the block taken out of normal flow"/>
<style type="text/css"><![CDATA[
body {direction:rtl;}
.note {direction:ltr;position:fixed;margin-top:2em;}
]]></style>
</head>
<body>
<div style="position:fixed;">!Right</div>
<p class="note">The word above should be right-aligned on the page and end with an exclamation mark.</p>
</body>
</html>