mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision b'89142292ab8c7f3564d978a76fdabc66626c421e'
This commit is contained in:
parent
7f838a4f5f
commit
cda7a10498
98 changed files with 2782 additions and 1163 deletions
|
@ -50,7 +50,7 @@
|
|||
<span>サンプルサンプル文<span class="target">‥‥</span>サンプル文</span>
|
||||
</p>
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">‥‥</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">‥‥</span>サンプル文</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
|
@ -59,7 +59,7 @@
|
|||
<span>サンプルサンプル文<span class="target">……</span>サンプル文</span>
|
||||
</p>
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">……</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">……</span>サンプル文</span>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<span>サンプルサンプル文<span class="target">‥‥</span>サンプル文</span>
|
||||
</p>
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">‥‥</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">‥‥</span>サンプル文</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
|
@ -59,7 +59,7 @@
|
|||
<span>サンプルサンプル文<span class="target">……</span>サンプル文</span>
|
||||
</p>
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">……</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">……</span>サンプル文</span>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -41,19 +41,19 @@
|
|||
<div class="wrapper">
|
||||
<!-- inseparable characters TWO DOT LEADER -->
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">‥‥</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">‥‥</span>サンプル文</span>
|
||||
</p>
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">‥‥</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">‥‥</span>サンプル文</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<!-- inseparable characters HORIZONTAL ELLIPSIS -->
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">……</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">……</span>サンプル文</span>
|
||||
</p>
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">……</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">……</span>サンプル文</span>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -41,19 +41,19 @@
|
|||
<div class="wrapper">
|
||||
<!-- inseparable characters TWO DOT LEADER -->
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">‥‥</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">‥‥</span>サンプル文</span>
|
||||
</p>
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">‥‥</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">‥‥</span>サンプル文</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<!-- inseparable characters HORIZONTAL ELLIPSIS -->
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">……</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">……</span>サンプル文</span>
|
||||
</p>
|
||||
<p class="control" lang="ja">
|
||||
<span>サンプルサンプル文<br /><span class="target">……</span>サンプル文</span>
|
||||
<span>サンプルサンプル<br />文<span class="target">……</span>サンプル文</span>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: line breaking with white-space: break-spaces and element boundaries</title>
|
||||
<link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com" />
|
||||
<link rel="help" title="3. White Space and Wrapping: the white-space property" href="https://drafts.csswg.org/css-text-3/#white-space-property">
|
||||
<link rel="help" title="5.1. Line Breaking Details" href="https://drafts.csswg.org/css-text-3/#line-break-details">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-break-spaces">
|
||||
<meta name="flags" content="ahem">
|
||||
<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
|
||||
<meta name="assert" content="An element boundary doesn't allow breaking if white-space is set to break-spaces at both sides of the boundary">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
font: 25px/1 Ahem;
|
||||
}
|
||||
.fail {
|
||||
position: absolute;
|
||||
color: red;
|
||||
z-index: -1;
|
||||
}
|
||||
.fail span { color: green; }
|
||||
.test {
|
||||
color: green;
|
||||
width: 4ch;
|
||||
white-space: break-spaces;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
|
||||
<div class="fail">XXXX<br>X<span>X</span>X<span>X</span><br>XX<span>XX</span><br>X<span>X</span>X<span>X</span></div>
|
||||
<div class="test"><span>XXXX</span> X X XX<span> </span><span> </span>X X</div>
|
Loading…
Add table
Add a link
Reference in a new issue