servo/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-016.htm

18 lines
No EOL
825 B
HTML

<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<title>text-align: end, pre, dir=auto</title>
<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida">
<style type="text/css">
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
.ref { position: relative; height: 48px; }
.rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 24px; }
.rb2 { position: absolute; bottom: 0; left: 0; background-color: orange; width: 72px; height: 24px; }
</style>
</head>
<body>
<div id="instructions">Test passes if shading in both orange boxes is identical.</div>
<div class="ref"><div class="rb1"></div><div class="rb2"></div></div>
<div class="ref"><div class="rb1"></div><div class="rb2"></div></div>
</body></html>