mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -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>”
|
||||
|
|
|
@ -32,4 +32,3 @@ body { font: 15px serif; }
|
|||
<p lang="aa"><q>root FALLBACK</q></p>
|
||||
|
||||
<p lang="zz"><q>root FALLBACK</q></p>
|
||||
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>”
|
||||
|
|
|
@ -20,13 +20,12 @@ body { font: 15px serif; }
|
|||
<p lang="de">„de FALLBACK“</p>
|
||||
<p lang="de">„de FALLBACK“</p>
|
||||
|
||||
<p lang="he">"he FALLBACK"</p>
|
||||
<p lang="he">"he FALLBACK"</p>
|
||||
<p lang="he">”he FALLBACK”</p>
|
||||
<p lang="he">”he FALLBACK”</p>
|
||||
|
||||
<p lang="ja">「ja FALLBACK」</p>
|
||||
<p lang="ja">「ja FALLBACK」</p>
|
||||
|
||||
<p lang="aa">"root FALLBACK"</p>
|
||||
|
||||
<p lang="zz">"root FALLBACK"</p>
|
||||
<p lang="aa">“root FALLBACK”</p>
|
||||
|
||||
<p lang="zz">“root FALLBACK”</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue