Update web-platform-tests to revision 6730dabbcc826e8ccbd6a9ee43d67c65e8626f29

This commit is contained in:
WPT Sync Bot 2020-09-29 08:21:29 +00:00
parent 858bb43298
commit 10398f2a98
114 changed files with 2670 additions and 2444 deletions

View file

@ -0,0 +1,8 @@
<!doctype html>
<title>CSS Text Test: Removing collapsible when overflowing cause Chrome to crash</title>
<link rel="help" href="https://crbug.com/1132762">
<style>
.test1 { word-spacing:-467616205px; }
</style>
<button>
<dfn class="test1" dir="rtl" ><EFBFBD> (y<a id=

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<title>CSS Text Test: Removing collapsible space before a float element cause Chrome to crash</title>
<link rel="help" href="https://crbug.com/1131470">
<!DOCTYPE html>
<style type="text/css">
.CLASS9 {
zoom:1.3%;

View file

@ -1,18 +1,30 @@
<!doctype html>
<meta charset=utf-8>
<title>Control charcters must be visible: U+000D</title>
<title>U+000D must be treated the same as U+0020</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-processing">
<link rel=mismatch href="reference/control-chars-000-ref.html">
<link rel=match href="reference/control-chars-00D-ref.html">
<meta name=flags content="">
<meta name=assert content="U+000D, which is in the unicode category CC, must be visible">
<meta name=assert content="U+000D must be treated as U+0020">
<style>
div {
font-size: 4em;
font-size: 2em;
font-family: monospace;
color: blue;
width: 4ch;
}
div::after { content: "\000D" } /* Injecting via CSS, to avoid any mangling by the html parser */
#ref {
color: orange;
}
.p {white-space: pre;}
.pw {white-space: pre-wrap;}
.pl {white-space: pre-line;}
.bs {white-space: break-spaces;}
.nw {white-space: nowrap;}
</style>
<p>Test passes if there is a visible character below.
<p>Test passes if blue charaters are arranged exactly in the same way as the orange ones.
<div></div>
<div>A&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;B&#x0D;C<span class=p>&#x0D;&#x0D;&#x0D;</span>D<span class=pw>&#x0D;&#x0D;&#x0D;</span>E<span class=pl>&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;</span>F<span class=bs>&#x0D;&#x0D;&#x0D;</span>G<span class=nw>&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;</span>H</div>
<div id=ref>A B C<span class=p> </span>D<span class=pw> </span>E<span class=pl> </span>F<span class=bs> </span>G<span class=nw> </span>H</div>

View file

@ -0,0 +1,26 @@
<!doctype html>
<meta charset=utf-8>
<title>Reference file</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
div {
font-size: 2em;
font-family: monospace;
color: blue;
width: 4ch;
}
#ref {
color: orange;
}
.p {white-space: pre;}
.pw {white-space: pre-wrap;}
.pl {white-space: pre-line;}
.bs {white-space: break-spaces;}
.nw {white-space: nowrap;}
</style>
<p>Test passes if blue charaters are arranged exactly in the same way as the orange ones.
<div>A B C<span class=p> </span>D<span class=pw> </span>E<span class=pl> </span>F<span class=bs> </span>G<span class=nw> </span>H</div>
<div id=ref>A B C<span class=p> </span>D<span class=pw> </span>E<span class=pl> </span>F<span class=bs> </span>G<span class=nw> </span>H</div>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reference Test</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
border: orange solid;
font: 24px monospace;
margin-bottom: 4px;
width: 15ch;
}
</style>
<p>Test passes if the glyphs in the 5 orange rectangles are laid out <strong>identically</strong>.
<div>A simple senten<br>ce in english.</div>
<div>A simple senten<br>ce in english.</div>
<div>A simple senten<br>ce in english.</div>
<div>A simple senten<br>ce in english.</div>
<div>A simple senten<br>ce in english.</div>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reference Test</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
border: orange solid;
font: 24px monospace;
margin-bottom: 4px;
width: 15ch;
}
</style>
<p>Test passes if the glyphs in the 5 orange rectangles are laid out <strong>identically</strong>.
<div>A simple<br>sentence in eng<br>lish.</div>
<div>A simple<br>sentence in eng<br>lish.</div>
<div>A simple<br>sentence in eng<br>lish.</div>
<div>A simple<br>sentence in eng<br>lish.</div>
<div>A simple<br>sentence in eng<br>lish.</div>

View file

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>CSS Text: 'word-break: break-all' applied to an inline in latin</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-text-3/#word-break-property">
<link rel="match" href="reference/word-break-break-all-062-ref.html">
<style>
div
{
border: orange solid;
font: 24px monospace;
margin-bottom: 4px;
width: 15ch;
/*
15 in 15ch is an entirely arbitrary number.
The test only aims at checking if a word
will break.
*/
}
div#ws-normal
{
white-space: normal;
}
div#ws-prewrap
{
white-space: pre-wrap;
}
div#ws-breakspaces
{
white-space: break-spaces;
}
div#ws-preline
{
white-space: pre-line;
}
span.test
{
word-break: break-all;
}
</style>
<p>Test passes if the glyphs in the 5 orange rectangles are laid out <strong>identically</strong>.
<div id="ws-normal"><span class="test">A simple sentence in english.</span></div>
<!-- 123456789012345 -->
<div id="ws-prewrap"><span class="test">A simple sentence in english.</span></div>
<!-- 123456789012345 -->
<div id="ws-breakspaces"><span class="test">A simple sentence in english.</span></div>
<!-- 123456789012345 -->
<div id="ws-preline"><span class="test">A simple sentence in english.</span></div>
<!-- 123456789012345 -->
<div id="reference">A simple senten<br>ce in english.</div>

View file

@ -0,0 +1,74 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>CSS Text: 'word-break: keep-all' applied to an inline in latin</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-text-3/#word-break-property">
<link rel="match" href="reference/word-break-keep-all-063-ref.html">
<style>
div
{
border: orange solid;
font: 24px monospace;
margin-bottom: 4px;
width: 15ch;
/*
15 in 15ch is an entirely arbitrary number.
*/
word-break: break-all;
/*
'word-break: break-all' applied on the
wrapping block is necessary to verify
that 'word-break: keep-all' is
implemented
*/
}
div#ws-normal
{
white-space: normal;
}
div#ws-prewrap
{
white-space: pre-wrap;
}
div#ws-breakspaces
{
white-space: break-spaces;
}
div#ws-preline
{
white-space: pre-line;
}
span.test
{
word-break: keep-all;
}
div#reference
{
word-break: normal;
}
</style>
<p>Test passes if the glyphs in the 5 orange rectangles are laid out <strong>identically</strong>.
<div id="ws-normal">A simple <span class="test">sentence</span> in english.</div>
<div id="ws-prewrap">A simple <span class="test">sentence</span> in english.</div>
<div id="ws-breakspaces">A simple <span class="test">sentence</span> in english.</div>
<div id="ws-preline">A simple <span class="test">sentence</span> in english.</div>
<div id="reference">A simple<br>sentence in eng<br>lish.</div>
<!-- 123456789012345 -->