Update web-platform-tests to revision cb40575e1a57892476f3e326355674d492dedbd2

This commit is contained in:
WPT Sync Bot 2020-06-27 08:20:23 +00:00
parent 0afe412d63
commit fa6a725a86
170 changed files with 1958 additions and 664 deletions

View file

@ -6,7 +6,18 @@
<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/#hyphenation">
<link rel="match" href="reference/hyphens-auto-010-ref.html">
<link rel="match" href="reference/hyphens-auto-010M-ref.html">
<link rel="match" href="reference/hyphens-auto-010H-ref.html">
<!--
User agents may use U+2010 HYPHEN <https://codepoints.net/U+2010>
when the font has the glyph, or
may use U+002D HYPHEN-MINUS <https://codepoints.net/U+002d>
otherwise. Some fonts will display slightly different glyphs for
these code points. Therefore these 2 reference files.
The M-ref.html reference file means the hyphen-Minus character U+002D.
The H-ref.html reference file means the Hyphen character U+2010.
-->
<meta content="" name="flags">
<meta content="When 'hyphens' is set to 'auto' and when 'lang' attribute is also set to a valid value, then words may be broken at hyphenation opportunities determined automatically by an hyphenation resource appropriate to the language of the text involved.">
@ -17,25 +28,11 @@
border: black solid 2px;
font-family: monospace;
font-size: 32px;
margin-bottom: 0.25em;
width: 6ch;
}
div#test
{
hyphens: auto;
}
div#reference
{
hyphens: none;
width: 6ch;
}
</style>
<body lang="en">
<p>Test passes if each black-bordered rectangles have identical inside content.
<div id="test">regulation implementation</div>
<div id="reference">regu-lation imple-menta-tion</div>
<div>regulation implementation</div>

View file

@ -6,7 +6,7 @@
<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/#hyphenation">
<link rel="match" href="reference/hyphens-auto-010-ref.html">
<link rel="match" href="reference/hyphens-auto-010M-ref.html">
<meta content="" name="flags">
<meta content="This test checks that 'hyphens: none' does not suppress line wrapping after encountering an actual hyphen-minus character (U+002D).">
@ -17,28 +17,18 @@
border: black solid 2px;
font-family: monospace;
font-size: 32px;
margin-bottom: 0.25em;
width: 6ch;
}
div#test
{
hyphens: none;
width: 6ch;
}
</style>
<body>
<div>regu&#x002D;lation imple&#x002D;menta&#x002D;tion</div>
<p>Test passes if each black-bordered rectangles have identical inside content.
<div id="test">regu-lation imple-menta-tion</div>
<div id="reference">regu&#x002D;<br>lation<br>imple&#x002D;<br>menta&#x002D;<br>tion</div>
<!--
Hyphen-minus == &#x002D; == &#0045;
Hyphen == &#x2010; == &#8208;
-->
<!--
Expected result:
regu-
lation
imple-
menta-
tion
-->

View file

@ -6,7 +6,7 @@
<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/#hyphenation">
<link rel="match" href="reference/hyphens-auto-010-ref.html">
<link rel="match" href="reference/hyphens-auto-010H-ref.html">
<meta content="" name="flags">
<meta content="This test checks that 'hyphens: none' does not suppress line wrapping after encountering an actual hyphen character (U+2010).">
@ -17,28 +17,18 @@
border: black solid 2px;
font-family: monospace;
font-size: 32px;
margin-bottom: 0.25em;
width: 6ch;
}
div#test
{
hyphens: none;
width: 6ch;
}
</style>
<body>
<div>regu&#x2010;lation imple&#x2010;menta&#x2010;tion</div>
<p>Test passes if each black-bordered rectangles have identical inside content.
<div id="test">regu-lation imple-menta-tion</div>
<div id="reference">regu&#x2010;<br>lation<br>imple&#x2010;<br>menta&#x2010;<br>tion</div>
<!--
Hyphen-minus == &#x002D; == &#0045;
Hyphen == &#x2010; == &#8208;
-->
<!--
Expected result:
regu-
lation
imple-
menta-
tion
-->

View file

@ -12,16 +12,18 @@
border: black solid 2px;
font-family: monospace;
font-size: 32px;
hyphens: none;
margin-bottom: 0.25em;
width: 6ch;
}
</style>
<body lang="en">
<p>Test passes if each black-bordered rectangles have identical inside content.
<div>regu&#x2010;<br>lation<br>imple&#x2010;<br>menta&#x2010;<br>tion</div>
<div>regu-lation imple-menta-tion</div>
<!--
<div>regu-lation imple-menta-tion</div>
Hyphen-minus == &#x002D; == &#0045;
Hyphen == &#x2010; == &#8208;
-->

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: black solid 2px;
font-family: monospace;
font-size: 32px;
width: 6ch;
}
</style>
<body lang="en">
<div>regu&#x002D;<br>lation<br>imple&#x002D;<br>menta&#x002D;<br>tion</div>
<!--
Hyphen-minus == &#x002D; == &#0045;
Hyphen == &#x2010; == &#8208;
-->