mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
59 lines
No EOL
1.7 KiB
HTML
59 lines
No EOL
1.7 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 - below left - basic cases</title>
|
||
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
|
||
<link rel="help" title="CSS Text Level 3: 11.2.4. Emphasis Mark Position: the ‘text-emphasis-position’ property" href="http://www.w3.org/TR/css-text-3/#text-emphasis-position"/>
|
||
<link rel="match" href="reference/text-emphasis-position-below-left-001-ref.xht"/>
|
||
<meta name="flags" content="ahem"/>
|
||
<meta name="assert" content="This property describes where emphasis marks are drawn at."/>
|
||
<style type="text/css"><![CDATA[
|
||
.test
|
||
{
|
||
text-emphasis-style: filled circle;
|
||
text-emphasis-position: below left;
|
||
}
|
||
/* the CSS below is not part of the test */
|
||
.common
|
||
{
|
||
line-height: 1em;
|
||
position: relative;
|
||
}
|
||
.parent
|
||
{
|
||
background: yellow;
|
||
border: solid 1px gray;
|
||
color: blue;
|
||
font: 20px/1em ahem;
|
||
width: 6em;
|
||
}
|
||
.refcommon
|
||
{
|
||
font-size: 0.5em;
|
||
left: 0.6em;
|
||
position: absolute;
|
||
}
|
||
.top
|
||
{
|
||
top: 1.6em;
|
||
}
|
||
]]></style>
|
||
</head>
|
||
<body>
|
||
<div>
|
||
<p>Test passes if a pair of upper and lower block in the square box is identical.</p>
|
||
<p>horizontal</p>
|
||
<div class="parent">
|
||
<div><span class="test">abc</span> de<br/><br/></div>
|
||
</div>
|
||
<br/>
|
||
<div class="parent">
|
||
<div>
|
||
<span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
|
||
de<br/>
|
||
<br/>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html> |