<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, pre, dir=auto</title>
<link rel='author' title='Richard Ishida' href='mailto:[email protected]'>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
.ref1, .ref2 { border-inline: 1px solid orange; margin-left: 20px; margin-right: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
.ref1 { border-top: 1px solid orange; margin-top: 20px; text-align: right; }
.ref2 { border-bottom: 1px solid orange; margin-bottom: 20px; text-align: left; }
</style>
</head>
<body>
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
<div class="ref1">REF</div>
<div class="ref2">ERE</div>
<div class="ref1">REF</div>
<div class="ref2">ERE</div>
</body>
</html>