mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision ac16628eb7eb601957382053011363d2bcf8ce44
This commit is contained in:
parent
ea7e753cea
commit
7e7c8873e4
4408 changed files with 664787 additions and 857286 deletions
|
@ -6,9 +6,14 @@
|
|||
<style>
|
||||
div {
|
||||
font-family: monospace;
|
||||
width: 2em;
|
||||
}
|
||||
[lang=ja] { border: solid blue; }
|
||||
[lang=ja-Hang] { border: solid orange; }
|
||||
</style>
|
||||
|
||||
<p>The test passes if the first line below ends with a hyphen.
|
||||
<p>The test passes if the second line in the blue box below <em>starts with</em> a “〜”,
|
||||
and if the second line in the orange box below <em>ends with</em> a “〜”.
|
||||
|
||||
<div lang=ja-Latn>Fushimi‐<br>ku</div>
|
||||
<div lang=ja>東京<br>〜大<br>阪</div>
|
||||
<div lang=ja-Hang>도<br>쿄〜<br>오사<br>카</div>
|
||||
|
|
|
@ -7,16 +7,20 @@
|
|||
<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.">
|
||||
<meta name=assert content="breaks before U+301C when line-break is loose are allowed if the content language is Japanese,
|
||||
but not when the writing system is not Japanese/Chinese (e.g. Korean).">
|
||||
<style>
|
||||
div {
|
||||
font-family: monospace;
|
||||
width: 7ch;
|
||||
width: 2em;
|
||||
line-break: loose;
|
||||
}
|
||||
[lang=ja] { border: solid blue; }
|
||||
[lang=ja-Hang] { border: solid orange; }
|
||||
</style>
|
||||
|
||||
<p>The test passes if the first line below ends with a hyphen.
|
||||
<p>The test passes if the second line in the blue box below <em>starts with</em> a “〜”,
|
||||
and if the second line in the orange box below <em>ends with</em> a “〜”.
|
||||
|
||||
<div lang=ja-Latn>Fushimi‐ku</div>
|
||||
<div lang=ja>東京〜大阪</div>
|
||||
<div lang=ja-Hang>도쿄〜오사카</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue