Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-content/quotes-002.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html lang="en-US">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="The quotes property controls quote marks inserted by the q element">
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<link rel=match href="reference/quotes-002-ref.html">
<style>
body { font: 32px serif; }
.test { quotes: "<" ">" ; }
</style>
<body>
Test passes if the word <q>quotes</q> is enclosed in curly quotes,
and <q class=test>angle brackets</q> in angle brackets.