Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS Test: text-emphasis-style - open - basic cases</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
<link rel="help" title="CSS Text Level 3: 11.2.1. Emphasis Mark Style: the ‘text-emphasis-style’ property" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" />
<link rel="match" href="reference/text-emphasis-style-open-001-ref.xht"/>
<meta name="assert" content="This property applies emphasis marks to the element's text. " />
<style type="text/css"><![CDATA[
.parent
{
border: solid 1px gray;
font: 1.5em monospace;
width: 10em;
}
#test1
{
text-emphasis-style: open;
}
#test2
{
text-emphasis-style: open circle;
}
#test3
{
text-emphasis-style: open dot;
}
#test4
{
text-emphasis-style: open double-circle;
}
#test5
{
text-emphasis-style: open sesame;
}
#test6
{
text-emphasis-style: open triangle;
}
]]></style>
</head>
<body>
<div>
<p>Test passes if each pair of upper and lower "Filler Text" in the square box is identical.</p>
open
<div class="parent">
<div><span id="test1">Filler</span> Text</div>
<div>
<ruby><rb>F</rb><rt>&#x25CB;</rt><rb>i</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>e</rb><rt>&#x25CB;</rt><rb>r</rb><rt>&#x25CB;</rt></ruby>
Text
</div>
</div>
<br />
open circle
<div class="parent">
<div><span id="test2">Filler</span> Text</div>
<div>
<ruby><rb>F</rb><rt>&#x25CB;</rt><rb>i</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>e</rb><rt>&#x25CB;</rt><rb>r</rb><rt>&#x25CB;</rt></ruby>
Text
</div>
</div>
<br />
open dot
<div class="parent">
<div><span id="test3">Filler</span> Text</div>
<div>
<ruby><rb>F</rb><rt>&#x25E6;</rt><rb>i</rb><rt>&#x25E6;</rt><rb>l</rb><rt>&#x25E6;</rt><rb>l</rb><rt>&#x25E6;</rt><rb>e</rb><rt>&#x25E6;</rt><rb>r</rb><rt>&#x25E6;</rt></ruby>
Text
</div>
</div>
<br />
open double-circle
<div class="parent">
<div><span id="test4">Filler</span> Text</div>
<div>
<ruby><rb>F</rb><rt>&#x25CE;</rt><rb>i</rb><rt>&#x25CE;</rt><rb>l</rb><rt>&#x25CE;</rt><rb>l</rb><rt>&#x25CE;</rt><rb>e</rb><rt>&#x25CE;</rt><rb>r</rb><rt>&#x25CE;</rt></ruby>
Text
</div>
</div>
<br />
open sesame
<div class="parent">
<div><span id="test5">Filler</span> Text</div>
<div>
<ruby><rb>F</rb><rt>&#xFE46;</rt><rb>i</rb><rt>&#xFE46;</rt><rb>l</rb><rt>&#xFE46;</rt><rb>l</rb><rt>&#xFE46;</rt><rb>e</rb><rt>&#xFE46;</rt><rb>r</rb><rt>&#xFE46;</rt></ruby>
Text
</div>
</div>
<br />
open triangle
<div class="parent">
<div><span id="test6">Filler</span> Text</div>
<div>
<ruby><rb>F</rb><rt>&#x25B3;</rt><rb>i</rb><rt>&#x25B3;</rt><rb>l</rb><rt>&#x25B3;</rt><rb>l</rb><rt>&#x25B3;</rt><rb>e</rb><rt>&#x25B3;</rt><rb>r</rb><rt>&#x25B3;</rt></ruby>
Text
</div>
</div>
</div>
</body>
</html>