Update web-platform-tests to revision 2b80e6d28f3c1ca734384ebded282bf07df80657

This commit is contained in:
WPT Sync Bot 2019-10-18 10:32:38 +00:00
parent 32eb858a6a
commit aff72973cf
379 changed files with 13969 additions and 2161 deletions

View file

@ -2,7 +2,7 @@
<meta charset="utf-8">
<title>CSS Text level 3 Test: break-space tabs don't hang</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-3">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/break-spaces-tab-005-ref.html">
<meta name="assert" content="a sequence of break-spaces tabs at the end of a line does not hang.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />

View file

@ -2,7 +2,7 @@
<meta charset="utf-8">
<title>CSS Text level 3 Test: break-spaces tabs and spaces don't hang</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-3">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/break-spaces-tab-005-ref.html">
<meta name="assert" content="a sequence of break-spaces tabs and spaces at the end of a line does not hang, and can wrap after each tab or space.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />

View file

@ -0,0 +1,44 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: collapsible white space at end-of-line and bidi</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/eol-spaces-bidi-001-ref.html">
<meta name="assert" content="Collapsible space at the end of the line prior to bidi reordering are removed.">
<style>
div {
font-family: monospace;
border: solid blue;
font-size: 1.5em;
margin-bottom:1em;
display: inline-block;
}
.ref {
white-space: pre;
border-color: orange;
}
.w5 { width: 5ch; }
.w6 { width: 6ch; }
.w7 { width: 7ch; }
.w8 { width: 8ch; }
.blue { background: #aaaaff; }
.red { background: #ffaaaa; }
.green { background: #aaffaa; }
.pink { background: #ffaaff; }
.yellow { background: #ffffaa; }
</style>
<p>Test passes if the content of each blue box (on the left) is laid out identically to the content of the orange box to its right.
<div class=w5><span class=pink> </span>A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب<span class=yellow> </span></div>
<div class="ref w5">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div>
<br>
<div class=w6><span class=pink> </span>A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب<span class=yellow> </span></div>
<div class="ref w6">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div>
<br>
<div class=w7><span class=pink> </span>A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب<span class=yellow> </span></div>
<div class="ref w7">A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب</div>
<br>
<div class=w8><span class=pink> </span>A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب<span class=yellow> </span></div>
<div class="ref w8">A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب</div>

View file

@ -2,7 +2,7 @@
<meta charset="utf-8">
<title>CSS Text level 3 Test: pre-wrap tabs hang</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-3">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/pre-wrap-001-ref.html">
<meta name="assert" content="a sequence of pre-wrap tabs at the end of a line hangs.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />

View file

@ -2,7 +2,7 @@
<meta charset="utf-8">
<title>CSS Text level 3 Test: pre-wrap tabs and spaces hang</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-3">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/pre-wrap-001-ref.html">
<meta name="assert" content="a sequence of pre-wrap tabs and spaces at the end of a line hangs.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />

View file

@ -0,0 +1,39 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS test reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
div {
font-family: monospace;
border: solid blue;
font-size: 1.5em;
margin-bottom:1em;
display: inline-block;
white-space: pre;
}
.ref {
border-color: orange;
}
.w5 { width: 5ch; }
.w6 { width: 6ch; }
.w7 { width: 7ch; }
.w8 { width: 8ch; }
.blue { background: #aaaaff; }
.red { background: #ffaaaa; }
.green { background: #aaffaa; }
</style>
<p>Test passes if the content of each blue box (on the left) is laid out identically to the content of the orange box to its right.
<div class="w5">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div>
<div class="ref w5">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div>
<br>
<div class="w6">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div>
<div class="ref w6">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div>
<br>
<div class="w7">A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب</div>
<div class="ref w7">A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب</div>
<br>
<div class="w8">A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب</div>
<div class="ref w8">A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب</div>