Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Writing Modes Test: outline layout and non-replaced inline and vertical-rl writing-mode</title>
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com" />
<link rel="reviewer" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2016-01-14 -->
<meta content="ahem" name="flags" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.container {
color:transparent;
font:50px/1 Ahem;
}
.outline {
color:orange;
display:inline-block;
outline:blue solid 2px;
}
</style>
<p>Test passes if the inside of 3 blue rectangles is orange.
<div class="container">
<span class="outline" style="margin-left:1em">1</span><br>
<span class="outline" style="margin-left:3em">1<br>2</span><br>
<span class="outline" style="margin-left:5em">1<br>2<br>X</span>
</div>