mirror of
https://github.com/servo/servo.git
synced 2025-08-25 07:08:21 +01:00
Update web-platform-tests to revision 2332a6bd8ab3d47986492a44d7a0455dfb4ad823
This commit is contained in:
parent
d2856ce8ae
commit
c789859814
350 changed files with 5147 additions and 1855 deletions
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<style>
|
||||
div { font-family: monospace; }
|
||||
</style>
|
||||
|
||||
<p>Test passes if there are two columns of "x" characters below and no red.
|
||||
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
||||
<div>xx<br>xx</div>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre-wrap;
|
||||
font-family: Ahem;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there are two green tall boxes below and no red.
|
||||
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx あ<br>あ あ<br>あ xx</div><!--XB/XA, non tailorable-->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx あ<br>あ あ<br>あ xx</div><!--XB/XA, non tailorable-->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx あ<br>あ あ<br>あ xx</div><!--XB/XA, non-tailorable-->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx あ<br>あ あ<br>あ xx</div><!--XB/XA, non-tailorable-->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: sequence of spaces and other space separators at the end of line must be removed</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-001-ref.html">
|
||||
<meta name="assert" content="An sequence of regular spaces and other space separators at the end of the line must be removed.">
|
||||
<style>
|
||||
div { font-family: monospace; width: 2ch; }
|
||||
span { background: red; } /* If the space hangs instead of being removed, there will be red */
|
||||
</style>
|
||||
|
||||
<p>Test passes if there are two columns of "x" characters below and no red.
|
||||
|
||||
<div>xx<span>                    </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span><wbr>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span><wbr>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
|
@ -0,0 +1,65 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: sequence of spaces and other space separators at the end of line with white-space:pre-wrap</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-002-ref.html">
|
||||
<meta name="assert" content="An sequence of regular spaces and other space separators at the end of the line must hang if white-space is pre-wrap.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: pre-wrap;
|
||||
font-family: Ahem;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 3ch;
|
||||
color: green;
|
||||
}
|
||||
.red {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
}
|
||||
.red div {
|
||||
color: red;
|
||||
}
|
||||
span { color: transparent; } /* because ogham space is otherwise visible*/
|
||||
</style>
|
||||
|
||||
<p>Test passes if there are two green tall boxes below and no red.
|
||||
|
||||
<section class=red>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
<div>x x<br>x x</div>
|
||||
</section>
|
||||
<section>
|
||||
<div>x x<span> </span>                   x x</div>
|
||||
<div>x x<span> </span>x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x <wbr>x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x <wbr>x x</div>
|
||||
<div>x x x x</div>
|
||||
<div>x x x x</div>
|
||||
</section>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: sequence of spaces and other space separators at the end of line, white-space:pre-line</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-001-ref.html">
|
||||
<meta name="assert" content="An sequence of regular spaces and other space separators at the end of the line must be removed, with white-space:pre-line.">
|
||||
<style>
|
||||
div { font-family: monospace; width: 2ch; white-space: pre-line; }
|
||||
span { background: red; } /* If the space hangs instead of being removed, there will be red */
|
||||
</style>
|
||||
|
||||
<p>Test passes if there are two columns of "x" characters below and no red.
|
||||
|
||||
<div>xx<span>                    </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span><wbr>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span><wbr>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
||||
<div>xx<span> </span>xx</div>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: sequence of spaces and other space separators at the end of line, white-space:nowrap</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-001-ref.html">
|
||||
<meta name="assert" content="An sequence of regular spaces and other space separators at the end of the line must be removed, with white-space:nowrap.">
|
||||
<style>
|
||||
div { font-family: monospace; width: 2ch; white-space: nowrap; }
|
||||
span { background: red; } /* If the space hangs instead of being removed, there will be red */
|
||||
</style>
|
||||
|
||||
<p>Test passes if there are two columns of "x" characters below and no red.
|
||||
|
||||
<div>xx<span>                    </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
||||
<div>xx<span> </span><br>xx</div>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+1680 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-001-ref.html">
|
||||
<meta name="assert" content="U+1680 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2000 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-002-ref.html">
|
||||
<meta name="assert" content="U+2000 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2001 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-003-ref.html">
|
||||
<meta name="assert" content="U+2001 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2002 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-004-ref.html">
|
||||
<meta name="assert" content="U+2002 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2003 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-005-ref.html">
|
||||
<meta name="assert" content="U+2003 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2004 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-006-ref.html">
|
||||
<meta name="assert" content="U+2004 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2005 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-007-ref.html">
|
||||
<meta name="assert" content="U+2005 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2006 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-008-ref.html">
|
||||
<meta name="assert" content="U+2006 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2007 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-009-ref.html">
|
||||
<meta name="assert" content="U+2007 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx あ<br>あ あ<br>あ xx</div><!--XB/XA, non tailorable-->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2008 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-010-ref.html">
|
||||
<meta name="assert" content="U+2008 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+2009 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-011-ref.html">
|
||||
<meta name="assert" content="U+2009 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+200A at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-012-ref.html">
|
||||
<meta name="assert" content="U+200A at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+200F at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-013-ref.html">
|
||||
<meta name="assert" content="U+200F at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx あ<br>あ あ<br>あ xx</div><!--XB/XA, non-tailorable-->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+205F at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-014-ref.html">
|
||||
<meta name="assert" content="U+205F at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text level 3 Test: U+3000 at the end of line with white-space:break-spaces</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/trailing-other-space-separators-break-spaces-015-ref.html">
|
||||
<meta name="assert" content="U+3000 at the end of the line must not hang or be discarded if white-space is break-spaces. It thus keeps its usual line breaking properties, as defined in UAX14.">
|
||||
<meta name="flags" content="should">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
white-space: break-spaces;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
width: 2em;
|
||||
}
|
||||
section {
|
||||
font-family: Ahem;
|
||||
float: left;
|
||||
margin: 0 1em;
|
||||
color: blue;
|
||||
}
|
||||
.ref {
|
||||
color: orange;
|
||||
}
|
||||
.ref div {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the orange and blue parts of this page are identical.
|
||||
|
||||
<!--
|
||||
* no line breaking opportunity is after an "x"
|
||||
unless the next character provides one,
|
||||
and none of the other space separators do.
|
||||
* no line breaking opportunity is before an "x"
|
||||
unless the previous character provides one (A).
|
||||
* a line breaking opportunity is expected after "あ",
|
||||
unless suppressed by the next character (XB).
|
||||
* a line breaking opportunity is expected before "あ",
|
||||
unless suppressed by the previous character (XA).
|
||||
-->
|
||||
<section class=ref>
|
||||
<div>xx <br>ああ<br> あ<br>あ <br>xx</div><!-- A, tailorable -->
|
||||
</section>
|
||||
<section>
|
||||
<div>xx ああ ああ xx</div>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue