Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<html lang="en">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Nested quotes continue at the correct level when the quotes property is updated">
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<link rel=match href="reference/quotes-029-ref.html">
<style>
body { font: 32px serif; quotes: none; }
.q { quotes: "“" "”" "‘" "’" "«" "»" "‹" "›"; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p>One <q>two <q>three <q class=q>four <q>five <q>six</q></q></q></q></q>
<p>One two three «four ‹five ‹six››»