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 - string - 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-string-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;
}
#test
{
text-emphasis-style: "!";
}
]]></style>
</head>
<body>
<div>
<p>Test passes if a pair of upper and lower "Filler Text" in the square box is identical.</p>
string
<div class="parent">
<div><span id="test">Filler</span> Text</div>
<br />
<div>
<ruby><rb>F</rb><rt>!</rt><rb>i</rb><rt>!</rt><rb>l</rb><rt>!</rt><rb>l</rb><rt>!</rt><rb>e</rb><rt>!</rt><rb>r</rb><rt>!</rt></ruby>
Text
</div>
</div>
</div>
</body>
</html>