blob: c30c65203b47a26365223b48330ab2ff7af7abb0 [file] [log] [blame]
<head>
<style>
body { font-family: 'Ahem'; color:green }
.hang { text-indent: -1em; margin:1em }
</style>
</head>
<body style="direction:rtl">
<div style="float:right" class="hang">(Hang test)</div>
<div style="clear:both">
<div class="hang">(This should hang.<br>(This should not.</div>
<div class="hang" style="text-align:justify; width:300px;">(This should hang and justifybecause and now were fine.</div>
<div class="hang" style="text-align:justify; width:300px;"><span>(</span>This should hang.</div>
<div style="margin-right:1em; text-align:justify; width:300px;"><span style="border-right:1em solid blue">(</span>This should not hang.</div>
<div class="hang" style="text-indent:1em; text-align:justify; width:300px;">(This should hang into the text-indent.</div>