mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision cb40575e1a57892476f3e326355674d492dedbd2
This commit is contained in:
parent
0afe412d63
commit
fa6a725a86
170 changed files with 1958 additions and 664 deletions
|
@ -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>
|
||||
|
|
|
@ -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-lation imple-menta-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-<br>lation<br>imple-<br>menta-<br>tion</div>
|
||||
|
||||
<!--
|
||||
|
||||
Hyphen-minus == - == -
|
||||
|
||||
Hyphen == ‐ == ‐
|
||||
|
||||
-->
|
||||
<!--
|
||||
Expected result:
|
||||
regu-
|
||||
lation
|
||||
imple-
|
||||
menta-
|
||||
tion
|
||||
-->
|
||||
|
|
|
@ -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‐lation imple‐menta‐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‐<br>lation<br>imple‐<br>menta‐<br>tion</div>
|
||||
|
||||
<!--
|
||||
|
||||
Hyphen-minus == - == -
|
||||
|
||||
Hyphen == ‐ == ‐
|
||||
|
||||
-->
|
||||
<!--
|
||||
Expected result:
|
||||
regu-
|
||||
lation
|
||||
imple-
|
||||
menta-
|
||||
tion
|
||||
-->
|
||||
|
|
|
@ -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‐<br>lation<br>imple‐<br>menta‐<br>tion</div>
|
||||
|
||||
<div>regu-lation imple-menta-tion</div>
|
||||
<!--
|
||||
|
||||
<div>regu-lation imple-menta-tion</div>
|
||||
Hyphen-minus == - == -
|
||||
|
||||
Hyphen == ‐ == ‐
|
||||
|
||||
-->
|
|
@ -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-<br>lation<br>imple-<br>menta-<br>tion</div>
|
||||
|
||||
<!--
|
||||
|
||||
Hyphen-minus == - == -
|
||||
|
||||
Hyphen == ‐ == ‐
|
||||
|
||||
-->
|
Loading…
Add table
Add a link
Reference in a new issue