Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<meta charset="utf-8">
<title>CSS Text 3 test reference</title>
<link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div#test {
text-align: right;
font: 20px/1 Ahem;
background: linear-gradient(green, green) 1ch 0 / cover no-repeat;
width: 5ch;
white-space: pre;
color: blue;
}
</style>
<p>Test passes if a blue box (the white space) is visible at the left start in first line and <strong>no red</strong> is shown.</p>
<div id="test">X <br> </div>