mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<title>CSS Test: word-break - keep-all - basic cases</title>
|
||||
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp">
|
||||
<link rel="help" title="CSS Text Level 3: 5.2. Word Breaking Rules: the ‘word-break’ property" href="http://www.w3.org/TR/css-text-3/#word-break">
|
||||
<link rel="match" href="reference/word-break-keep-all-004-ref.htm">
|
||||
<meta name="flags" content="font">
|
||||
<meta name="assert" content="Block characters can no longer create implied break points.">
|
||||
<style type="text/css">
|
||||
|
||||
.test span {
|
||||
word-break: keep-all;
|
||||
}
|
||||
/* the CSS below is not part of the test */
|
||||
p.test, p.control {
|
||||
border: 1px solid gray;
|
||||
color: blue;
|
||||
font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
|
||||
width: 10em;
|
||||
}
|
||||
span.attention {
|
||||
color: red;
|
||||
}
|
||||
span.no_wrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Test passes if each pair of upper and lower text in the square box is identical.
|
||||
</p>
|
||||
<hr>
|
||||
<p class="test">
|
||||
<span>Filler Text Filler Text Filler Text</span>
|
||||
</p>
|
||||
<p class="control">
|
||||
<span>Filler Text Filler<br>Text Filler Text</span>
|
||||
</p>
|
||||
<hr>
|
||||
<p class="test">
|
||||
<span>満たすための文字 Filler Text</span>
|
||||
</p>
|
||||
<p class="control">
|
||||
<span>満たすための文字<br>Filler Text</span>
|
||||
</p>
|
||||
<hr>
|
||||
<p class="test">
|
||||
<span>満たすための文字満たすための文字</span>
|
||||
</p>
|
||||
<p class="control">
|
||||
<span class="no_wrap">満たすための文字満たすための文字</span>
|
||||
</p>
|
||||
<hr>
|
||||
<p>
|
||||
<span class="attention">* You will need a Japanese font.</span><br>
|
||||
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user