mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
64 lines
No EOL
1.8 KiB
HTML
64 lines
No EOL
1.8 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>CSS Test: text-emphasis-position - above left - basic cases Reftest Reference</title>
|
|
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
|
|
<style type="text/css"><![CDATA[
|
|
.common
|
|
{
|
|
line-height: 1em;
|
|
position: relative;
|
|
}
|
|
.displayarea
|
|
{
|
|
border: solid 1px gray;
|
|
padding: 10px;
|
|
width: 10em;
|
|
}
|
|
.floatright
|
|
{
|
|
float: right;
|
|
}
|
|
.parent
|
|
{
|
|
background: yellow;
|
|
border: solid 1px gray;
|
|
color: blue;
|
|
font: 20px/1em ahem;
|
|
height: 6em;
|
|
width: 2em;
|
|
}
|
|
.refcommon
|
|
{
|
|
font-size: 0.5em;
|
|
left: 1.1em;
|
|
position: absolute;
|
|
top: 0.1em;
|
|
}
|
|
]]></style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<p>Test passes if a pair of left and right block in the square box is identical.</p>
|
|
<p>vertical</p>
|
|
<div class="displayarea">
|
|
<div class="parent floatright">
|
|
<span class="common"> a<span class="refcommon">●</span></span><br/>
|
|
<span class="common"> b<span class="refcommon">●</span></span><br/>
|
|
<span class="common"> c<span class="refcommon">●</span></span><br/>
|
|
<br/>
|
|
<span class="common"> d</span><br/>
|
|
<span class="common"> e</span><br/>
|
|
</div>
|
|
<div class="parent">
|
|
<span class="common"> a<span class="refcommon">●</span></span><br/>
|
|
<span class="common"> b<span class="refcommon">●</span></span><br/>
|
|
<span class="common"> c<span class="refcommon">●</span></span><br/>
|
|
<br/>
|
|
<span class="common"> d</span><br/>
|
|
<span class="common"> e</span><br/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |