wpt / css / css-content / quotes-002.html

Status: FAIL | Duration: 13ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-content/quotes-002.html

<!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="help" href="https://drafts.csswg.org/css-content-3/#quotes">
<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#quotes">
<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.

/css/css-content/reference/quotes-002-ref.html

<!doctype html>
<html lang="en-US">
<meta charset=utf-8>
<title>CSS Generated Content reference: quotes</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<style>
body { font: 32px serif; }
</style>
<body>
Test passes if the word &#x201c;quotes&#x201d; is enclosed in curly quotes,
and &lt;angle brackets&gt; in angle brackets.