Update web-platform-tests to revision 04cd5eb8e5c47e4fe341f2fb541d39fa2346f464

This commit is contained in:
WPT Sync Bot 2018-11-16 21:03:13 -05:00
parent 0ab2c3f8a3
commit 1d0624b343
226 changed files with 4495 additions and 903 deletions

View file

@ -0,0 +1,20 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test reference</title>
<link rel=author title="Ambrose Li" href="http://port.ambroseli.ca/">
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<p>The test passes if the word pairs below are all displayed in the same font.
<table>
<tr>
<td>ping4 on1
<td>salaam
<td>shalom
<tr>
<td>ping4 on1
<td>salaam
<td>shalom
</table>

View file

@ -0,0 +1,14 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test reference</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
div {
font-family: monospace;
}
</style>
<p>The test passes if the first line below ends with a hyphen.
<div lang=ja-Latn>Fushimi&#x2010;<br>ku</div>

View file

@ -0,0 +1,11 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test reference</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
</style>
<p>The test passes if the question mark in the phrase below is alone on the second line.
<div lang=en-Hrkt>ハロー、ハウアーユー<br></div>

View file

@ -0,0 +1,10 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test reference</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<p>The test passes if the both lines are identical, including the spacing of the characters.
<div lang=ain-Kana>“アイヌイタㇰ”</div>
<div lang=ain-Kana>“アイヌイタㇰ”</div>

View file

@ -0,0 +1,13 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test reference</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
div {
font-size: 3em;
}
</style>
<p>Test passes if the two words below are identical: there must be a dot on the “i” letter at the beginning of the word.
<div lang=tr-Cyrl>iстанбул</div>
<div lang=tr-Cyrl>iстанбул</div>

View file

@ -0,0 +1,25 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test: font selection and writing sytem</title>
<link rel=author title="Ambrose Li" href="http://port.ambroseli.ca/">
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#languages">
<link rel=help href="https://drafts.csswg.org/css-text-3/#script-tagging">
<link rel=help href="https://drafts.csswg.org/css-fonts-4/#language-specific-support">
<link rel=match href="reference/writing-system-font-001-ref.html">
<meta name=assert content="An explicit writing system takes precedence over the content language for font selection">
<p>The test passes if the word pairs below are all displayed in the same font.
<table>
<tr>
<td>ping4 on1
<td>salaam
<td>shalom
<tr>
<td><span lang=zh-yue-latn>ping4 on1</span>
<td><span lang=ar-latn>salaam</span>
<td><span lang=he-latn>shalom</span>
</table>

View file

@ -0,0 +1,22 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test: writing system and line breaking</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#languages">
<link rel=help href="https://drafts.csswg.org/css-text-3/#script-tagging">
<link rel=help href="https://drafts.csswg.org/css-text-3/#propdef-line-break">
<link rel=match href="reference/writing-system-line-break-001-ref.html">
<meta name=assert content="breaks before hyphens when line-break is loose are allowed if the content language is Japanese,
but not when the writing system is Latin.">
<style>
div {
font-family: monospace;
width: 7ch;
line-break: loose;
}
</style>
<p>The test passes if the first line below ends with a hyphen.
<div lang=ja-Latn>Fushimi&#x2010;ku</div>

View file

@ -0,0 +1,22 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test: writing system and line breaking</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#languages">
<link rel=help href="https://drafts.csswg.org/css-text-3/#script-tagging">
<link rel=help href="https://drafts.csswg.org/css-text-3/#propdef-line-break">
<link rel=match href="reference/writing-system-line-break-002-ref.html">
<meta name=assert content="breaks before U+FF1F when line-break is loose are allowed
if the writing system is Japanese (which includes Hrkt),
but even when the language not Japanese.">
<style>
div {
width: 10em;
line-break: loose;
}
</style>
<p>The test passes if the question mark in the phrase below is alone on the second line.
<div lang=en-Hrkt>ハロー、ハウアーユー?</div>

View file

@ -0,0 +1,27 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test: writing system and segment break transformation</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#languages">
<link rel=help href="https://drafts.csswg.org/css-text-3/#script-tagging">
<link rel=help href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<link rel=match href="reference/writing-system-segment-break-001-ref.html">
<meta name=assert content="If the writing system of the segment break is Chinese, Japanese, or Yi,
and the character before or after the segment break is punctuation or a symbol (Unicode general category P* or S*)
and has an East Asian Width property of A or is Emoji,
and the character on the other side of the segment break is F, W, or H, and not Hangul or Emoji,
then the segment break is removed.">
<!--
In this case, checking with “ and ” which are punctuation with East Asian Width of A,
next to Katakana letters (which are W),
while the writing system is Katakana, which is classified as Japanese,
despite a non Japanese content language (Ainu).
-->
<p>The test passes if the both lines are identical, including the spacing of the characters.
<div lang=ain-Kana>
アイヌイタㇰ
</div>
<div lang=ain-Kana>“アイヌイタㇰ”</div>

View file

@ -0,0 +1,19 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS test: text-transform and writing systems</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#languages">
<link rel=help href="https://drafts.csswg.org/css-text-3/#script-tagging">
<link rel=help href="https://drafts.csswg.org/css-text-3/#propdef-text-transform">
<link rel=match href="reference/writing-system-text-transform-001-ref.html">
<meta name=assert content="text transform rules that depend on the language are overriden by a contradicting explicit script tag.">
<style>
div {
text-transform: lowercase;
font-size: 3em;
}
</style>
<p>Test passes if the two words below are identical: there must be a dot on the “i” letter at the beginning of the word.
<div lang=tr-Cyrl>IСТАНБУЛ</div>
<div lang=tr-Cyrl>iстанбул</div>