summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/reference/outline-inline-block-vrl-006.html
blob: eb0e20ae092d81db58e36419a02a9a41caecf5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!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>