servo/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/outline-inline-vrl-006.xht

34 lines
No EOL
1.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
<title>CSS Writing Modes Test: outline layout and non-replaced inline and vertical-rl writing-mode</title>
<link href="reference/outline-inline-vrl-006.xht" rel="match" />
<link href="mailto:kojiishi@gmail.com" rel="author" title="Koji Ishii" />
<link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="reviewer" title="Gérard Talbot" /> <!-- 2016-01-14 -->
<link href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" />
<link href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" rel="help" title="18.4 Dynamic outlines: the 'outline' property" />
<meta content="ahem" name="flags" />
<style>
.container {
color:transparent;
font:50px/1 Ahem;
height:5em;
writing-mode:vertical-rl;
}
.outline {
color:orange;
outline:blue solid 2px;
}
</style>
</head><body><p>Test passes if the inside of 2 blue squares is orange.
</p><div class="container">
<!--
Additional div to ensure that the origin of the containing block of the
outline span is different from the origin of the writing mode root.
-->
<div>1</div>
<div>1234<span class="outline">5 6</span>7890</div>
<div>1</div>
<div>1</div>
<div>1</div>
</div>
</body></html>