Update web-platform-tests to revision 84af6c875d378944b39d895acdcfc170736b2d3d

This commit is contained in:
WPT Sync Bot 2019-07-10 10:26:06 +00:00
parent d0bd2d5e44
commit b81cdc75ce
246 changed files with 10836 additions and 1337 deletions

View file

@ -0,0 +1,15 @@
<!doctype html>
<html>
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Browser uses default quote marks when no lang is specified">
<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-001-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the <q>outer <q>quote marks</q> are double,
and the two sets of <q>inner</q> ones</q> are single.

View file

@ -0,0 +1,16 @@
<!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.

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="en-US">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="The quotes property can specify different marks for nested quotes">
<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-003-ref.html">
<style>
body { font: 32px serif; }
.test { quotes: "<" ">" "[" "]"; }
</style>
<body>
<p class=test>Test passes if the <q>outer <q>quote marks</q> are angle brackets,
and the two sets of <q>inner</q> ones</q> are square brackets.

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="am">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Amharic quotation marks follow CLDR">
<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-004-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>አንድ <q>ሁለት</q> ሦስት</q>
<p>&#xab;አንድ &#x2039;ሁለት&#x203a; ሦስት&#xbb;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="ar">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Arabic quotation marks follow CLDR">
<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-005-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p dir=rtl><q>واحد <q>اثنينل</q> ثلاثة</q>
<p dir=rtl>&#x201d;واحد &#x2019;اثنينل&#x2018; ثلاثة&#x201c;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="bn">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Bengali quotation marks follow CLDR">
<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-006-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>এক <q>দুই</q> তিন</q>
<p>&#x201c;এক &#x2018;দুই&#x2019; তিন&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="chr">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Cherokee quotation marks follow CLDR">
<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-007-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>Ꮒꭶꮣ <q>ꭰꮒᏼꮻ</q> ꭴꮎꮥꮕꭲ</q>
<p>&#x201c;Ꮒꭶꮣ &#x2018;ꭰꮒᏼꮻ&#x2019; ꭴꮎꮥꮕꭲ&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="el">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Greek quotation marks follow CLDR">
<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-008-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>ένα <q>δύο</q> τρία</q>
<p>&#xab;ένα &#x201c;δύο&#x201d; τρία&#xbb;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="fa">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Farsi quotation marks follow CLDR">
<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-009-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>یک <q>دو</q> سه</q>
<p>&#xab;یک &#x2039;دو&#x203a; سه&#xbb;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="fr">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="French quotation marks follow CLDR">
<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-010-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>un <q>deux</q> trois</q>
<p>&#xab;un &#xab;deux&#xbb; trois&#xbb;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="fr-CH">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Swiss-French quotation marks follow CLDR">
<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-011-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>un <q>deux</q> trois</q>
<p>&#xab;un &#x2039;deux&#x203a; trois&#xbb;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="gu">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Gujarati quotation marks follow CLDR">
<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-012-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>એક <q>બે</q> રણ</q>
<p>&#x201c;એક &#x2018;બે&#x2019; રણ&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="he">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Hebrew quotation marks follow CLDR">
<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-013-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p dir=rtl><q>אחת <q>שתיים</q> שלוש</q>
<p dir=rtl>&#x201d;אחת &#x2019;שתיים&#x2019; שלוש&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="hi">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Hindi quotation marks follow CLDR">
<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-014-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>एक <q>दो</q> तीन</q>
<p>&#x201c;एक &#x2018;दो&#x2019; तीन&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="hu">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Hungarian quotation marks follow CLDR">
<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-015-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>egy <q>kettő</q> három</q>
<p>&#x201e;egy &#xbb;kettő&#xab; három&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="ja">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Japanese quotation marks follow CLDR">
<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-016-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q><q></q></q>
<p>&#x300c;&#x300e;&#x300f;&#x300d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="km">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Khmer quotation marks follow CLDR">
<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-017-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>មួយ <q>ពីរ</q> បី</q>
<p>&#x201c;មួយ &#x2018;ពីរ&#x2019; បី&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="ko">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Korean quotation marks follow CLDR">
<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-018-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>하나 <q></q></q>
<p>&#x201c;하나 &#x2018;&#x2019;&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="lo">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Lao quotation marks follow CLDR">
<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-019-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>ຫນຶ່ງ <q>ສອງ</q> ສາມ</q>
<p>&#x201c;ຫນຶ່ງ &#x2018;ສອງ&#x2019; ສາມ&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="my">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Burmese quotation marks follow CLDR">
<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-020-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>တစ် <q>နှစ်</q> သုံး</q>
<p>&#x201c;တစ် &#x2018;နှစ်&#x2019; သုံး&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="nl">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Dutch quotation marks follow CLDR">
<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-021-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>een <q>twee</q> drie</q>
<p>&#x2018;een &#x201c;twee&#x201d; drie&#x2019;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="pa">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Punjabi quotation marks follow CLDR">
<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-022-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>ਇੱਕ <q>ਦੋ</q> ਤਿੰਨ</q>
<p>&#x201c;ਇੱਕ &#x2018;ਦੋ&#x2019; ਤਿੰਨ&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="ta">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Tamil quotation marks follow CLDR">
<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-023-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>ஒன்று <q>இரண்டு</q> மூன்று</q>
<p>&#x201c;ஒன்று &#x2018;இரண்டு&#x2019; மூன்று&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="th">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Thai quotation marks follow CLDR">
<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-024-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q>หนึ่ง<q>สอง</q>สาม</q>
<p>&#x201c;หนึ่ง&#x2018;สอง&#x2019;สาม&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="zh-Hans">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Simplified Chinese quotation marks follow CLDR">
<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-025-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q><q></q></q>
<p>&#x201c;&#x2018;&#x2019;&#x201d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="zh-Hant">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Traditional Chinese quotation marks follow CLDR">
<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-026-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q><q></q></q>
<p>&#x300c;&#x300e;&#x300f;&#x300d;

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="zh">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Chinese quotation marks follow CLDR">
<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-027-ref.html">
<style>
body { font: 32px serif; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p><q><q></q></q>
<p>&#x201c;&#x2018;&#x2019;&#x201d;

View file

@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="Nested quotes use successive pairs, then repeat final pair">
<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=match href="reference/quotes-028-ref.html">
<style>
body { font: 32px serif; quotes: "“" "”" "" "" "«" "»" "" ""; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p>One <q>two <q>three <q>four <q>five <q>six</q></q></q></q></q>
<p>One “two three «four five six»

View file

@ -0,0 +1,16 @@
<!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="help" href="https://drafts.csswg.org/css-content-3/#quotes">
<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»

View file

@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="quotes:auto with mixed languages uses appropriate CLDR quotes for each language">
<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=match href="reference/quotes-030-ref.html">
<style>
body { font: 32px serif; quotes: auto; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p>One <q>two <q lang="ja">three <q lang="fr">four</q></q></q>
<p>One “two <span lang="ja">『three <span lang="fr">«four»</span></span>

View file

@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="language change does not override explicit quotes:<pair-list>">
<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=match href="reference/quotes-031-ref.html">
<style>
body { font: 32px serif; quotes: "" ""; }
</style>
<body>
<p>Test passes if the quote marks in both lines match:
<p>One <q>two <q lang="ja">three <q lang="fr">four</q></q></q>
<p>One two <span lang="ja">three <span lang="fr">four</span></span>

View file

@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="lang attribute does not override explicit quotes:none setting">
<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=match href="reference/quotes-032-ref.html">
<style>
body { font: 32px serif; quotes: none; }
</style>
<body>
<p>Test passes if both lines match, with no quote marks:
<p>One <q>two <q lang="ja">three <q lang="fr">four</q></q></q>
<p>One two <span lang="ja">three <span lang="fr">four</span></span>

View file

@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<meta charset=utf-8>
<title>CSS Generated Content test: quotes</title>
<meta name="assert" content="quotes:auto resets default behavior after quotes:none">
<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=match href="reference/quotes-033-ref.html">
<style>
body { font: 32px serif; quotes: none; }
.inner { quotes: auto; }
</style>
<body>
<p>Test passes if quote marks in both lines match:
<p>One <q>two</q> <span class="inner"><q>three <q>four</q></q></span> <q>five</q>
<p>One two “three four” five

View file

@ -0,0 +1,11 @@
<!doctype html>
<html>
<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>
<p>Test passes if the &#x201c;outer &#x2018;quote marks&#x2019; are double,
and the two sets of &#x2018;inner&#x2019; ones&#x201d; are single.

View file

@ -0,0 +1,11 @@
<!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.

View file

@ -0,0 +1,11 @@
<!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>
<p class=test>Test passes if the &lt;outer [quote marks] are angle brackets,
and the two sets of [inner] ones&gt; are square brackets.

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="am">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#xab;አንድ &#x2039;ሁለት&#x203a; ሦስት&#xbb;
<p>&#xab;አንድ &#x2039;ሁለት&#x203a; ሦስት&#xbb;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="ar">
<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>
<p>Test passes if the quote marks in both lines match:
<p dir=rtl>&#x201d;واحد &#x2019;اثنينل&#x2018; ثلاثة&#x201c;
<p dir=rtl>&#x201d;واحد &#x2019;اثنينل&#x2018; ثلاثة&#x201c;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="bn">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;এক &#x2018;দুই&#x2019; তিন&#x201d;
<p>&#x201c;এক &#x2018;দুই&#x2019; তিন&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="chr">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;Ꮒꭶꮣ &#x2018;ꭰꮒᏼꮻ&#x2019; ꭴꮎꮥꮕꭲ&#x201d;
<p>&#x201c;Ꮒꭶꮣ &#x2018;ꭰꮒᏼꮻ&#x2019; ꭴꮎꮥꮕꭲ&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="el">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#xab;ένα &#x201c;δύο&#x201d; τρία&#xbb;
<p>&#xab;ένα &#x201c;δύο&#x201d; τρία&#xbb;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="fa">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#xab;یک &#x2039;دو&#x203a; سه&#xbb;
<p>&#xab;یک &#x2039;دو&#x203a; سه&#xbb;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="fr">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#xab;un &#xab;deux&#xbb; trois&#xbb;
<p>&#xab;un &#xab;deux&#xbb; trois&#xbb;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="fr-CH">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#xab;un &#x2039;deux&#x203a; trois&#xbb;
<p>&#xab;un &#x2039;deux&#x203a; trois&#xbb;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="gu">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;એક &#x2018;બે&#x2019; રણ&#x201d;
<p>&#x201c;એક &#x2018;બે&#x2019; રણ&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="he">
<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>
<p>Test passes if the quote marks in both lines match:
<p dir=rtl>&#x201d;אחת &#x2019;שתיים&#x2019; שלוש&#x201d;
<p dir=rtl>&#x201d;אחת &#x2019;שתיים&#x2019; שלוש&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="hi">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;एक &#x2018;दो&#x2019; तीन&#x201d;
<p>&#x201c;एक &#x2018;दो&#x2019; तीन&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="hu">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201e;egy &#xbb;kettő&#xab; három&#x201d;
<p>&#x201e;egy &#xbb;kettő&#xab; három&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="ja">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x300c;&#x300e;&#x300f;&#x300d;
<p>&#x300c;&#x300e;&#x300f;&#x300d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="km">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;មួយ &#x2018;ពីរ&#x2019; បី&#x201d;
<p>&#x201c;មួយ &#x2018;ពីរ&#x2019; បី&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="ko">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;하나 &#x2018;&#x2019;&#x201d;
<p>&#x201c;하나 &#x2018;&#x2019;&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="lo">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;ຫນຶ່ງ &#x2018;ສອງ&#x2019; ສາມ&#x201d;
<p>&#x201c;ຫນຶ່ງ &#x2018;ສອງ&#x2019; ສາມ&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="my">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;တစ် &#x2018;နှစ်&#x2019; သုံး&#x201d;
<p>&#x201c;တစ် &#x2018;နှစ်&#x2019; သုံး&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="nl">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x2018;een &#x201c;twee&#x201d; drie&#x2019;
<p>&#x2018;een &#x201c;twee&#x201d; drie&#x2019;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="pa">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;ਇੱਕ &#x2018;ਦੋ&#x2019; ਤਿੰਨ&#x201d;
<p>&#x201c;ਇੱਕ &#x2018;ਦੋ&#x2019; ਤਿੰਨ&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="ta">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;ஒன்று &#x2018;இரண்டு&#x2019; மூன்று&#x201d;
<p>&#x201c;ஒன்று &#x2018;இரண்டு&#x2019; மூன்று&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="th">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;หนึ่ง&#x2018;สอง&#x2019;สาม&#x201d;
<p>&#x201c;หนึ่ง&#x2018;สอง&#x2019;สาม&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="zh-Hans">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;&#x2018;&#x2019;&#x201d;
<p>&#x201c;&#x2018;&#x2019;&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="zh-Hant">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x300c;&#x300e;&#x300f;&#x300d;
<p>&#x300c;&#x300e;&#x300f;&#x300d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="zh">
<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>
<p>Test passes if the quote marks in both lines match:
<p>&#x201c;&#x2018;&#x2019;&#x201d;
<p>&#x201c;&#x2018;&#x2019;&#x201d;

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<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>
<p>Test passes if the quote marks in both lines match:
<p>One “two three «four five six»
<p>One “two three «four five six»

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<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>
<p>Test passes if the quote marks in both lines match:
<p>One two three «four five six»
<p>One two three «four five six»

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<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>
<p>Test passes if the quote marks in both lines match:
<p>One “two <span lang="ja">『three <span lang="fr">«four»</span></span>
<p>One “two <span lang="ja">『three <span lang="fr">«four»</span></span>

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<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>
<p>Test passes if the quote marks in both lines match:
<p>One two <span lang="ja">three <span lang="fr">four</span></span>
<p>One two <span lang="ja">three <span lang="fr">four</span></span>

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<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>
<p>Test passes if both lines match, with no quote marks:
<p>One two <span lang="ja">three <span lang="fr">four</span></span>
<p>One two <span lang="ja">three <span lang="fr">four</span></span>

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<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>
<p>Test passes if quote marks in both lines match:
<p>One two “three four” five
<p>One two “three four” five