Update web-platform-tests to revision b'3b791e5b10812a4ca4473d93679fc70d1a7f5f88'

This commit is contained in:
WPT Sync Bot 2023-03-02 01:47:05 +00:00
parent 61fe4cf606
commit 17f4d58879
157 changed files with 1609 additions and 430 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.container {
font-family: Ahem;
font-size: 20px;
width: 20ch;
}
</style>
<div class="container">
123 567 901 345 789 123
</div>

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>CSS Text reference</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<style>
p {
width: fit-content;
border: 2px solid green;
font: 24px monospace;
}
</style>
<body>
</body>
<script>
for (i = 0x200b; i <= 0x200f; ++i) {
txt = "This should have no leading or trailing ["
+ i.toString(16)
+ "]";
p = document.createElement("p");
p.textContent = txt;
document.body.appendChild(p);
}
</script>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>CSS Text reference</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<style>
p {
width: min-content;
border: 2px solid green;
font: 24px monospace;
}
</style>
<body>
<p>
This
is
a
simple
test
</p>
</body>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<link rel="help" href="https://w3c.github.io/csswg-drafts/css-text-4/#valdef-text-wrap-balance">
<link rel="mismatch" href="reference/text-wrap-balance-002-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.container {
font-family: Ahem;
font-size: 20px;
width: 20ch;
text-wrap: balance;
}
</style>
<div class="container">
123 567 901 345 789 123
</div>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>CSS Text Test: join controls do not disrupt white-space processing</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
<!-- NB: The spec doesn't explicitly discuss join controls in this context,
but it is self-evident that they should not have any effect on the white-space processing.
Their only effect should be on the shaping (if any) of the adjacent characters. -->
<link rel="match" href="reference/white-space-vs-joiners-001-ref.html">
<meta name="assert" content="The presence of join controls (ZWJ/ZWNJ) at word edges should not affect white-space processing">
<style>
p {
width: fit-content;
border: 2px solid green;
font: 24px monospace;
}
</style>
<body>
</body>
<script>
for (i = 0x200b; i <= 0x200f; ++i) {
txt = " "
+ String.fromCharCode(i)
+ "This should have no leading or trailing ["
+ i.toString(16)
+ "]"
+ String.fromCharCode(i)
+ " ";
p = document.createElement("p");
p.textContent = txt;
document.body.appendChild(p);
}
</script>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>CSS Text Test: join controls do not disrupt white-space processing</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
<!-- NB: The spec doesn't explicitly discuss join controls in this context,
but it is self-evident that they should not have any effect on the white-space processing.
Their only effect should be on the shaping (if any) of the adjacent characters. -->
<link rel="match" href="reference/white-space-vs-joiners-002-ref.html">
<meta name="assert" content="The presence of join controls (ZWJ/ZWNJ) at word edges should not affect white-space processing">
<style>
p {
width: min-content;
border: 2px solid green;
font: 24px monospace;
}
</style>
<body>
<p>
&#x200d;This&#x200d;
&#x200d;is&#x200d;
&#x200d;a&#x200d;
&#x200d;simple&#x200d;
&#x200d;test&#x200d;
</p>
</body>