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-021.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Decoration Test - text-emphasis</title>
<link rel="author" title="Shinsuke Matsuki" href="mailto:shinsk@gmail.com">
<link rel="help" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" title="3.1. Emphasis Mark Style: the ‘text-emphasis-style’ property">
<link rel="match" href="reference/text-emphasis-style-021-ref.html">
<meta name="assert" content="This test checks 'text-emphasis-style:string'.">
<style>
div {
font: 1.5em monospace;
}
span {
text-emphasis-style: '^';
}
</style>
</head>
<body>
<p>Test passes if "^" is above every single character of "Text sample".</p>
<div>
<span>Text</span> <span>sample</span>
</div>
</body>
</html>