Update web-platform-tests to revision e45156b5e558c062a609356905c83a0258c516e3

This commit is contained in:
WPT Sync Bot 2019-05-02 21:47:51 -04:00
parent 9f6005be16
commit 5fcf52d946
199 changed files with 4430 additions and 530 deletions

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<style>
@font-face {
font-family: 'csstest_noto';
src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2');
}
div {
font-family: 'csstest_noto';
font-size: 3em;
line-height: 1; /* Not strictly needed, but it gets quite tall otherwise, so this helps fit the screen. */
width: 0;
hyphens: manual;
margin: 1em auto;
}
.ref { color: orange; }
</style>
<p>Test passes if the black text is identical to the orange text (except the color).
<div dir=rtl lang=ug class=ref>&#xFEA9;&#xFE8D;&#xFEE3;&#xFEF4;<br>&#xFEAA;&#xFEEF;</div>
<div dir=rtl lang=ug>&#xFEA9;&#xFE8D;&#xFEE3;&#xFEF4;<br>&#xFEAA;&#xFEEF;</div>

View file

@ -0,0 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<p>Test passes if there is something below:

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
div {
border: solid orange;
margin: 5px;
width: 6ch;
hyphens: manual;
}
</style>
<p>Test passes if the text in all orange boxes below is identical (including the presence and position of a hyphen).
<div>high&shy;way</div>
<div>high&shy;way</div>
<div>high&shy;way</div>
<div>high&shy;way</div>
<div>high&shy;way</div>
<div>high&shy;way</div>
<div>high&shy;way</div>
<div>high&shy;way</div>
<div>high&shy;way</div>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
div {
border: solid orange;
margin: 5px;
width: 6ch;
hyphens: auto;
}
</style>
<p>Test passes if the text in all orange boxes below is identical (including the presence and position of a hyphen).
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
span {
font-size: 3em;
color: red;
text-shadow: 3px 3px 3px black;
}
</style>
<p>Test passes if the word “example” below is hyphenated, and the hyphen is large, red, and has a shadow
<div>ex<span>&#x2010;</span><br>ample</div>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
span {
font-size: 3em;
color: red;
text-shadow: 3px 3px 3px black;
}
</style>
<p>Test passes if the word “example” below is hyphenated, and the hyphen is large, red, and has a shadow
<div>ex<span>&#x002D;</span><br>ample</div>