mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
35 lines
No EOL
1.5 KiB
HTML
35 lines
No EOL
1.5 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 inline-block and vertical-rl writing-mode</title>
|
|
<link href="reference/outline-inline-block-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:6em;
|
|
writing-mode:vertical-rl;
|
|
}
|
|
.outline {
|
|
color:orange;
|
|
display:inline-block;
|
|
outline:blue solid 2px;
|
|
}
|
|
</style>
|
|
</head><body><p>Test passes if the inside of 3 blue rectangles 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>123<span class="outline">XXX</span></div>
|
|
<div>12345 6<span class="outline">XX</span></div>
|
|
<div>1</div>
|
|
<div><span class="outline">1</span></div>
|
|
<div>1</div>
|
|
</div>
|
|
</body></html> |