Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'

This commit is contained in:
WPT Sync Bot 2022-11-10 01:22:36 +00:00
parent ace9b32b1c
commit df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions

View file

@ -2,14 +2,16 @@
<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">
<meta name="assert" content="quotes:auto with mixed languages uses appropriate CLDR quotes for each language,
based on the parent language (not the language of the element itself)">
<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://github.com/w3c/csswg-drafts/issues/5478#issuecomment-701507076">
<link rel=match href="reference/quotes-030-ref.html">
<style>
body { font: 32px serif; quotes: auto; }
body { font: 32px Arial, Helvetica, Noto Sans, DejaVu Sans, FreeSans, sans-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>
<p>One “two <span lang="ja">three <span lang="fr">『four』</span></span>

View file

@ -32,4 +32,3 @@ body { font: 15px serif; }
<p lang="aa"><q>root FALLBACK</q></p>
<p lang="zz"><q>root FALLBACK</q></p>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>Quote scope Shadow DOM and SLOT</title>
<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
<link rel="help" href="https://www.w3.org/TR/css-content-3/#quote-values">
<style>
q {
quotes: '1''1''2''2''3''3';
}
</style>
</head>
<body>
<q>
<q>Quote</q>
</q>
</body>
</html>

View file

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<title>Quote scope Shadow DOM and SLOT</title>
<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
<link rel="help" href="https://www.w3.org/TR/css-content-3/#quote-values">
<link rel="match" href="quotes-slot-scoping-ref.html">
</head>
<body>
<div id="host">
<q slot="quote">Quote</q>
</div>
<script>
function makeStyle() {
let style = document.createElement('style');
style.textContent = `
q {
quotes: '1' '1' '2' '2' '3' '3';
}
`;
return style;
}
document.body.appendChild(makeStyle());
const shadowRoot = document
.getElementById('host')
.attachShadow({mode: 'open'});
shadowRoot.innerHTML = `
<q>
<slot name="quote"></slot>
</q>
`;
shadowRoot.appendChild(makeStyle());
</script>
</body>
</html>

View file

@ -4,9 +4,9 @@
<title>CSS Generated Content reference: quotes</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<style>
body { font: 32px serif; }
body { font: 32px Arial, Helvetica, Noto Sans, DejaVu Sans, FreeSans, sans-serif; quotes: auto; }
</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>
<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

@ -20,13 +20,12 @@ body { font: 15px serif; }
<p lang="de">&#x201e;de FALLBACK&#x201c</p>
<p lang="de">&#x201e;de FALLBACK&#x201c</p>
<p lang="he">&#x0022;he FALLBACK&#x0022</p>
<p lang="he">&#x0022;he FALLBACK&#x0022</p>
<p lang="he">&#x201d;he FALLBACK&#x201d</p>
<p lang="he">&#x201d;he FALLBACK&#x201d</p>
<p lang="ja">&#x300c;ja FALLBACK&#x300d</p>
<p lang="ja">&#x300c;ja FALLBACK&#x300d</p>
<p lang="aa">&#x0022;root FALLBACK&#x0022</p>
<p lang="zz">&#x0022;root FALLBACK&#x0022</p>
<p lang="aa">&#x201c;root FALLBACK&#x201d</p>
<p lang="zz">&#x201c;root FALLBACK&#x201d</p>