Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text-decor/text-emphasis-style-string-001.xht - WPT Dashboard Interop Dashboard
<?xml version="1.0" encoding="UTF-8"?>
<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>